Caches the contents of a Response.

Hierarchy

  • ResponseCache

Constructors

Properties

Methods

Constructors

  • Creates a new cache.

    Parameters

    • content: string

      The content of the Response.

    • Optional contentType: string

      The MIME type of the content.

    • Optional eTag: string

      The E-Tag associated with the content.

    Returns ResponseCache

Properties

content: string

The content of the Response.

contentType?: string

The MIME type of the content.

eTag?: string

The E-Tag associated with the content.

Methods

Generated using TypeDoc