bytes method

The bytes() method of the Request interface reads the request body and returns it as a promise that resolves with an Uint8Array.

Implementation

external JSPromise<JSUint8Array> bytes();