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

20 lines
265 B
Markdown

---
sidebar_label: HTTPResponse.buffer
---
# HTTPResponse.buffer() method
Promise which resolves to a buffer with response body.
#### Signature:
```typescript
class HTTPResponse {
abstract buffer(): Promise<Buffer>;
}
```
**Returns:**
Promise&lt;Buffer&gt;