Interface Body
interface Body {
body: ReadableStream<Uint8Array>;
bodyUsed: boolean;
arrayBuffer(): Promise<ArrayBuffer>;
blob(): Promise<Blob>;
formData(): Promise<FormData>;
json(): Promise<any>;
text(): Promise<string>;
}
body: ReadableStream<Uint8Array>;
bodyUsed: boolean;
arrayBuffer(): Promise<ArrayBuffer>;
blob(): Promise<Blob>;
formData(): Promise<FormData>;
json(): Promise<any>;
text(): Promise<string>;
}
Methods
arrayBuffer
- array
Buffer (): Promise<ArrayBuffer> Returns Promise<ArrayBuffer>
MDN Reference