TypedResponse
Extends
Response
Type parameters
• T
Properties
body
readonly
body:null
|ReadableStream
<Uint8Array
>
Inherited from
Response.body
Source
node_modules/typescript/lib/lib.dom.d.ts:3151
bodyUsed
readonly
bodyUsed:boolean
Inherited from
Response.bodyUsed
Source
node_modules/typescript/lib/lib.dom.d.ts:3153
headers
readonly
headers:Headers
Inherited from
Response.headers
Source
node_modules/typescript/lib/lib.dom.d.ts:18936
ok
readonly
ok:boolean
Inherited from
Response.ok
Source
node_modules/typescript/lib/lib.dom.d.ts:18938
redirected
readonly
redirected:boolean
Inherited from
Response.redirected
Source
node_modules/typescript/lib/lib.dom.d.ts:18940
status
readonly
status:number
Inherited from
Response.status
Source
node_modules/typescript/lib/lib.dom.d.ts:18942
statusText
readonly
statusText:string
Inherited from
Response.statusText
Source
node_modules/typescript/lib/lib.dom.d.ts:18944
type
readonly
type:ResponseType
Inherited from
Response.type
Source
node_modules/typescript/lib/lib.dom.d.ts:18946
url
readonly
url:string
Inherited from
Response.url
Source
node_modules/typescript/lib/lib.dom.d.ts:18948
Methods
arrayBuffer()
arrayBuffer():
Promise
<ArrayBuffer
>
Returns
Promise
<ArrayBuffer
>
Inherited from
Response.arrayBuffer
Source
node_modules/typescript/lib/lib.dom.d.ts:3155
blob()
blob():
Promise
<Blob
>
Returns
Promise
<Blob
>
Inherited from
Response.blob
Source
node_modules/typescript/lib/lib.dom.d.ts:3157
clone()
clone():
Response
Returns
Response
Inherited from
Response.clone
Source
node_modules/typescript/lib/lib.dom.d.ts:18950
formData()
formData():
Promise
<FormData
>
Returns
Promise
<FormData
>
Inherited from
Response.formData
Source
node_modules/typescript/lib/lib.dom.d.ts:3159
json()
json():
Promise
<T
>
Returns
Promise
<T
>
Overrides
Response.json
Source
text()
text():
Promise
<string
>
Returns
Promise
<string
>
Inherited from
Response.text
Source
node_modules/typescript/lib/lib.dom.d.ts:3163