HttpClientResponse
Defined in: src/http/HttpClient.ts:12
Properties
Section titled “Properties”
readonlybody:Uint8Array
Defined in: src/http/HttpClient.ts:15
headers
Section titled “headers”
readonlyheaders:Readonly<Record<string,string>>
Defined in: src/http/HttpClient.ts:14
status
Section titled “status”
readonlystatus:number
Defined in: src/http/HttpClient.ts:13
Methods
Section titled “Methods”json()
Section titled “json()”json<
T>():T
Defined in: src/http/HttpClient.ts:19
Decode body as JSON.
Type Parameters
Section titled “Type Parameters”T = unknown
Returns
Section titled “Returns”T
text()
Section titled “text()”text():
string
Defined in: src/http/HttpClient.ts:17
Decode body as UTF-8 text.
Returns
Section titled “Returns”string