Skip to main content
Version: 3.28.0

Request.arrayBuffer()

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

Syntax

arrayBuffer()

Parameters

None.

Return value

A promise that resolves with an ArrayBuffer.