Skip to main content

TypedResponse

Extends

  • Response

Type parameters

T

Properties

body

readonly body: null | ReadableStream<Uint8Array>

MDN Reference

Inherited from

Response.body

Source

node_modules/typescript/lib/lib.dom.d.ts:3151


bodyUsed

readonly bodyUsed: boolean

MDN Reference

Inherited from

Response.bodyUsed

Source

node_modules/typescript/lib/lib.dom.d.ts:3153


headers

readonly headers: Headers

MDN Reference

Inherited from

Response.headers

Source

node_modules/typescript/lib/lib.dom.d.ts:18936


ok

readonly ok: boolean

MDN Reference

Inherited from

Response.ok

Source

node_modules/typescript/lib/lib.dom.d.ts:18938


redirected

readonly redirected: boolean

MDN Reference

Inherited from

Response.redirected

Source

node_modules/typescript/lib/lib.dom.d.ts:18940


status

readonly status: number

MDN Reference

Inherited from

Response.status

Source

node_modules/typescript/lib/lib.dom.d.ts:18942


statusText

readonly statusText: string

MDN Reference

Inherited from

Response.statusText

Source

node_modules/typescript/lib/lib.dom.d.ts:18944


type

readonly type: ResponseType

MDN Reference

Inherited from

Response.type

Source

node_modules/typescript/lib/lib.dom.d.ts:18946


url

readonly url: string

MDN Reference

Inherited from

Response.url

Source

node_modules/typescript/lib/lib.dom.d.ts:18948

Methods

arrayBuffer()

arrayBuffer(): Promise<ArrayBuffer>

MDN Reference

Returns

Promise<ArrayBuffer>

Inherited from

Response.arrayBuffer

Source

node_modules/typescript/lib/lib.dom.d.ts:3155


blob()

blob(): Promise<Blob>

MDN Reference

Returns

Promise<Blob>

Inherited from

Response.blob

Source

node_modules/typescript/lib/lib.dom.d.ts:3157


clone()

clone(): Response

MDN Reference

Returns

Response

Inherited from

Response.clone

Source

node_modules/typescript/lib/lib.dom.d.ts:18950


formData()

formData(): Promise<FormData>

MDN Reference

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

src/utils/fetch.ts:6


text()

text(): Promise<string>

MDN Reference

Returns

Promise<string>

Inherited from

Response.text

Source

node_modules/typescript/lib/lib.dom.d.ts:3163