Home > puppeteer > HTTPRequest > (constructor)
Constructs a new instance of the HTTPRequest
class
Signature:
constructor(client: CDPSession, frame: Frame, interceptionId: string, allowInterception: boolean, event: Protocol.Network.requestWillBeSentPayload, redirectChain: HTTPRequest[]);
Parameter | Type | Description |
---|---|---|
client | CDPSession | |
frame | Frame | |
interceptionId | string | |
allowInterception | boolean | |
event | Protocol.Network.requestWillBeSentPayload | |
redirectChain | HTTPRequest[] |