HttpResponse
Defined in: src/http/types.ts:20
Properties
Section titled “Properties”
readonlyoptionalbody?:string|object|Uint8Array<ArrayBufferLike> |null
Defined in: src/http/types.ts:24
Body — if string or JSON object, the marshaller adds Content-Type.
contentType?
Section titled “contentType?”
readonlyoptionalcontentType?:string
Defined in: src/http/types.ts:26
Forced content-type. Overrides whatever the marshaller picks.
headers?
Section titled “headers?”
readonlyoptionalheaders?:Readonly<Record<string,string>>
Defined in: src/http/types.ts:22
status
Section titled “status”
readonlystatus:number
Defined in: src/http/types.ts:21