Aller au contenu
Français

HttpResponse

Ce contenu n’est pas encore disponible dans votre langue.

Defined in: src/http/types.ts:29

readonly optional body?: string | object | Uint8Array<ArrayBufferLike> | null

Defined in: src/http/types.ts:33

Body — if string or JSON object, the marshaller adds Content-Type.


readonly optional contentType?: string

Defined in: src/http/types.ts:35

Forced content-type. Overrides whatever the marshaller picks.


readonly optional headers?: Readonly<Record<string, string>>

Defined in: src/http/types.ts:31


readonly status: number

Defined in: src/http/types.ts:30