Options
All
  • Public
  • Public/Protected
  • All
Menu

Caches the contents of a Response.

Hierarchy

  • ResponseCache

Index

Constructors

Properties

Methods

Constructors

  • new ResponseCache(content: string, contentType?: string, eTag?: string): ResponseCache
  • 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
contentType?: string
eTag?: string

Methods

Generated using TypeDoc