mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
f07ad2c661
This PR updates the docs regarding configuring puppeteer. In addition, some changes have been made to the documentation generator to show default values on the documentation site. Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
38 lines
2.1 KiB
Markdown
38 lines
2.1 KiB
Markdown
---
|
|
sidebar_label: HTTPResponse
|
|
---
|
|
|
|
# HTTPResponse class
|
|
|
|
The HTTPResponse class represents responses which are received by the [Page](./puppeteer.page.md) class.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
export declare class HTTPResponse
|
|
```
|
|
|
|
## Remarks
|
|
|
|
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `HTTPResponse` class.
|
|
|
|
## Methods
|
|
|
|
| Method | Modifiers | Description |
|
|
| -------------------------------------------------------------------- | --------- | ----------- |
|
|
| [buffer()](./puppeteer.httpresponse.buffer.md) | | |
|
|
| [frame()](./puppeteer.httpresponse.frame.md) | | |
|
|
| [fromCache()](./puppeteer.httpresponse.fromcache.md) | | |
|
|
| [fromServiceWorker()](./puppeteer.httpresponse.fromserviceworker.md) | | |
|
|
| [headers()](./puppeteer.httpresponse.headers.md) | | |
|
|
| [json()](./puppeteer.httpresponse.json.md) | | |
|
|
| [ok()](./puppeteer.httpresponse.ok.md) | | |
|
|
| [remoteAddress()](./puppeteer.httpresponse.remoteaddress.md) | | |
|
|
| [request()](./puppeteer.httpresponse.request.md) | | |
|
|
| [securityDetails()](./puppeteer.httpresponse.securitydetails.md) | | |
|
|
| [status()](./puppeteer.httpresponse.status.md) | | |
|
|
| [statusText()](./puppeteer.httpresponse.statustext.md) | | |
|
|
| [text()](./puppeteer.httpresponse.text.md) | | |
|
|
| [timing()](./puppeteer.httpresponse.timing.md) | | |
|
|
| [url()](./puppeteer.httpresponse.url.md) | | |
|