Skip to main content
Version: 15.3.2

HTTPResponse.buffer() method

Signature:

class HTTPResponse {
buffer(): Promise<Buffer>;
}

Returns:

Promise<Buffer>

Promise which resolves to a buffer with response body.