puppeteer/docs/api/puppeteer.httpresponse.buffer.md
2023-11-06 10:15:09 +01:00

265 B

sidebar_label
HTTPResponse.buffer

HTTPResponse.buffer() method

Promise which resolves to a buffer with response body.

Signature:

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

Returns:

Promise<Buffer>