Skip to main content
method Body.bytes
Body.bytes(): Promise<Uint8Array>
Deprecated

Takes a Response stream and reads it to completion. It returns a promise that resolves with a Uint8Array.

Return Type

Promise<Uint8Array>
Back to top