mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
26 lines
951 B
Markdown
26 lines
951 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [HTTPRequest](./puppeteer.httprequest.md) > [(constructor)](./puppeteer.httprequest._constructor_.md)
|
||
|
|
||
|
## HTTPRequest.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `HTTPRequest` class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
constructor(client: CDPSession, frame: Frame, interceptionId: string, allowInterception: boolean, event: Protocol.Network.requestWillBeSentPayload, redirectChain: HTTPRequest[]);
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| client | [CDPSession](./puppeteer.cdpsession.md) | |
|
||
|
| frame | [Frame](./puppeteer.frame.md) | |
|
||
|
| interceptionId | string | |
|
||
|
| allowInterception | boolean | |
|
||
|
| event | Protocol.Network.requestWillBeSentPayload | |
|
||
|
| redirectChain | [HTTPRequest](./puppeteer.httprequest.md)<!-- -->\[\] | |
|
||
|
|