RawResponse interface

Simple type of the raw response.

Properties

body

The parsed response body

headers

A HttpHeaders collection in the response represented as a simple JSON object where all header names have been normalized to be lower-case.

request

The raw request that was sent to the server

statusCode

The HTTP status code

Property Details

body

The parsed response body

body?: unknown

Property Value

unknown

headers

A HttpHeaders collection in the response represented as a simple JSON object where all header names have been normalized to be lower-case.

headers: {[headerName: string]: string}

Property Value

{[headerName: string]: string}

request

The raw request that was sent to the server

request: TRequest

Property Value

TRequest

statusCode

The HTTP status code

statusCode: number

Property Value

number