TypedRest for TypeScript - v0.4.0
    Preparing search index...

    Class ResponseCache

    Caches the contents of a Response.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Creates a new cache.

      Parameters

      • content: string

        The content of the Response.

      • OptionalcontentType: string

        The MIME type of the content.

      • OptionaleTag: 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