mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2.1 KiB
2.1 KiB
Home > puppeteer > HTTPRequest
HTTPRequest class
Signature:
export declare class HTTPRequest
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(client, frame, interceptionId, allowInterception, event, redirectChain) | Constructs a new instance of the HTTPRequest class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| _failureText | any | ||
| _fromMemoryCache | boolean | ||
| _interceptionId | string | ||
| _redirectChain | HTTPRequest[] | ||
| _requestId | string | ||
| _response | HTTPResponse | null |
Methods
| Method | Modifiers | Description |
|---|---|---|
| abort(errorCode) | ||
| continue(overrides) | ||
| failure() | ||
| frame() | ||
| headers() | ||
| isNavigationRequest() | ||
| method() | ||
| postData() | ||
| redirectChain() | ||
| resourceType() | ||
| respond(response) | ||
| response() | ||
| url() |