Interface Body

interface Body {
    body: null | ReadableStream<Uint8Array>;
    bodyUsed: boolean;
    arrayBuffer(): Promise<ArrayBuffer>;
    blob(): Promise<Blob>;
    formData(): Promise<FormData>;
    json(): Promise<any>;
    text(): Promise<string>;
}

Properties

body: null | ReadableStream<Uint8Array>
bodyUsed: boolean

Methods

  • Returns Promise<ArrayBuffer>

  • Returns Promise<Blob>

  • Returns Promise<FormData>

  • Returns Promise<any>

  • Returns Promise<string>