Skip to main content
Version: 17.0.0

HTTPResponse.buffer() method

Signature:

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

Returns:

Promise<Buffer>

Promise which resolves to a buffer with response body.