Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResponseCache

Caches the contents of a Response.

Hierarchy

  • ResponseCache

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ResponseCache(content: string, contentType?: undefined | string, eTag?: undefined | string): ResponseCache
  • Creates a new cache.

    Parameters

    • content: string

      The content of the Response.

    • Optional contentType: undefined | string

      The MIME type of the content.

    • Optional eTag: undefined | string

      The E-Tag associated with the content.

    Returns ResponseCache

Properties

Readonly content

content: string

The content of the Response.

Optional Readonly contentType

contentType: undefined | string

The MIME type of the content.

Optional Readonly eTag

eTag: undefined | string

The E-Tag associated with the content.

Methods

Static from

Generated using TypeDoc