Package version:

Interface ResponseWithHeaders<Headers>

An object with a _response property that has headers already parsed into a typed object.

interface ResponseWithHeaders<Headers> {
    _response: HttpResponse & {
        parsedHeaders: Headers;
    };
}

Type Parameters

  • Headers

Properties

Properties

_response: HttpResponse & {
    parsedHeaders: Headers;
}

The underlying HTTP response.

Type declaration

  • parsedHeaders: Headers

    The parsed HTTP response headers.