Skip to main content

http.Response

Response object.

Type parameters#

Name
T

Properties#

data#

data: T

The response data.

Defined in#

http.ts:145


headers#

headers: Record<string, string>

The response headers.

Defined in#

http.ts:143


ok#

ok: boolean

A boolean indicating whether the response was successful (status in the range 200–299) or not.

Defined in#

http.ts:141


status#

status: number

The response status code.

Defined in#

http.ts:139


url#

url: string

The request URL.

Defined in#

http.ts:137