Search.../

buffer( )

Returns a Promise which resolves to the body of the call in binary as a Node.js Buffer object.

Syntax

function buffer(): Promise<Object>

buffer Parameters

This function does not take any parameters.

Returns

Fulfilled - The body of the HTTP request as a Node.js Buffer object.

Return Type:

Promise<Object>

Was this helpful?