Body

interface Body

exported from runtime.d

Properties

Body.body

type: readonly ReadableStream<Uint8Array<ArrayBufferLike>> | null

Body.bodyUsed

type: readonly boolean

Methods

async Body.arrayBuffer() Promise<ArrayBuffer>
async Body.blob() Promise<Blob>
async Body.bytes() Promise<Uint8Array<ArrayBufferLike>>
async Body.formData() Promise<FormData>
async Body.json<T>() Promise<T>
Type parameters:

T

async Body.text() Promise<string>