Extends
Response
Type Parameters
D
D extends unknown
E
E extends unknown = unknown
Properties
body
Defined in: node_modules/typescript/lib/lib.dom.d.ts:4468 MDN Referencereadonlybody:ReadableStream<Uint8Array<ArrayBuffer>> |null
Inherited from
Response.body
bodyUsed
Defined in: node_modules/typescript/lib/lib.dom.d.ts:4470 MDN ReferencereadonlybodyUsed:boolean
Inherited from
Response.bodyUsed
data
data: D
Defined in: src/generated/traceServerApi.ts:5991
error
error: E
Defined in: src/generated/traceServerApi.ts:5992
headers
Defined in: node_modules/typescript/lib/lib.dom.d.ts:26322 Thereadonlyheaders:Headers
headers read-only property of the with the response.
MDN Reference
Inherited from
Response.headers
ok
Defined in: node_modules/typescript/lib/lib.dom.d.ts:26328 Thereadonlyok:boolean
ok read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not.
MDN Reference
Inherited from
Response.ok
redirected
Defined in: node_modules/typescript/lib/lib.dom.d.ts:26334 Thereadonlyredirected:boolean
redirected read-only property of the Response interface indicates whether or not the response is the result of a request you made which was redirected.
MDN Reference
Inherited from
Response.redirected
status
Defined in: node_modules/typescript/lib/lib.dom.d.ts:26340 Thereadonlystatus:number
status read-only property of the Response interface contains the HTTP status codes of the response.
MDN Reference
Inherited from
Response.status
statusText
Defined in: node_modules/typescript/lib/lib.dom.d.ts:26346 ThereadonlystatusText:string
statusText read-only property of the Response interface contains the status message corresponding to the HTTP status code in Response.status.
MDN Reference
Inherited from
Response.statusText
type
Defined in: node_modules/typescript/lib/lib.dom.d.ts:26352 Thereadonlytype:ResponseType
type read-only property of the Response interface contains the type of the response.
MDN Reference
Inherited from
Response.type
url
Defined in: node_modules/typescript/lib/lib.dom.d.ts:26358 Thereadonlyurl:string
url read-only property of the Response interface contains the URL of the response.
MDN Reference
Inherited from
Response.url
Methods
arrayBuffer()
arrayBuffer():Defined in: node_modules/typescript/lib/lib.dom.d.ts:4472 MDN ReferencePromise<ArrayBuffer>
Returns
Promise<ArrayBuffer>
Inherited from
Response.arrayBuffer
blob()
blob():Defined in: node_modules/typescript/lib/lib.dom.d.ts:4474 MDN ReferencePromise<Blob>
Returns
Promise<Blob>
Inherited from
Response.blob
bytes()
bytes():Defined in: node_modules/typescript/lib/lib.dom.d.ts:4476 MDN ReferencePromise<Uint8Array<ArrayBuffer>>
Returns
Promise<Uint8Array<ArrayBuffer>>
Inherited from
Response.bytes
clone()
clone(): Response
Defined in: node_modules/typescript/lib/lib.dom.d.ts:26364
The clone() method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.
MDN Reference
Returns
Response
Inherited from
Response.clone
formData()
formData():Defined in: node_modules/typescript/lib/lib.dom.d.ts:4478 MDN ReferencePromise<FormData>
Returns
Promise<FormData>
Inherited from
Response.formData
json()
json():Defined in: node_modules/typescript/lib/lib.dom.d.ts:4480 MDN ReferencePromise<any>
Returns
Promise<any>
Inherited from
Response.json
text()
text():Defined in: node_modules/typescript/lib/lib.dom.d.ts:4482 MDN ReferencePromise<string>
Returns
Promise<string>
Inherited from
Response.text