Documentation
    Preparing search index...

    Interface ResponseHeadersLike

    The one thing this package needs from a header collection: a case-insensitive lookup returning the value or null.

    Structural, exactly as FetchResponse is: the DOM's Headers has this get, and a test satisfies it with { get: () => "1024" }.

    interface ResponseHeadersLike {
        get(name: string): string | null;
    }
    Index
    • The header's value, or null when it is absent.

      Parameters

      • name: string

      Returns string | null