puppeteer/new-docs/puppeteer.httpresponse._constructor_.md

23 lines
735 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [HTTPResponse](./puppeteer.httpresponse.md) &gt; [(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 | |