Skip to main content
Version: 16.1.0

HTTPResponse.buffer() method

Signature:

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

Returns:

Promise<Buffer>

Promise which resolves to a buffer with response body.