mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23 lines
735 B
Markdown
23 lines
735 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [HTTPResponse](./puppeteer.httpresponse.md) > [(constructor)](./puppeteer.httpresponse._constructor_.md)
|
||
|
|
||
|
## HTTPResponse.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `HTTPResponse` class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
constructor(client: CDPSession, request: HTTPRequest, responsePayload: Protocol.Network.Response);
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| client | [CDPSession](./puppeteer.cdpsession.md) | |
|
||
|
| request | [HTTPRequest](./puppeteer.httprequest.md) | |
|
||
|
| responsePayload | Protocol.Network.Response | |
|
||
|
|