31 lines
2.4 KiB
Markdown
31 lines
2.4 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [RequestWillBeSentEvent](./puppeteer.protocol.network.requestwillbesentevent.md)
|
||
|
|
||
|
## Protocol.Network.RequestWillBeSentEvent interface
|
||
|
|
||
|
Fired when page is about to send HTTP request.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface RequestWillBeSentEvent
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [documentURL](./puppeteer.protocol.network.requestwillbesentevent.documenturl.md) | string | URL of the document this request is loaded for. |
|
||
|
| [frameId](./puppeteer.protocol.network.requestwillbesentevent.frameid.md) | [Page.FrameId](./puppeteer.protocol.page.frameid.md) | Frame identifier. |
|
||
|
| [hasUserGesture](./puppeteer.protocol.network.requestwillbesentevent.hasusergesture.md) | boolean | Whether the request is initiated by a user gesture. Defaults to false. |
|
||
|
| [initiator](./puppeteer.protocol.network.requestwillbesentevent.initiator.md) | [Initiator](./puppeteer.protocol.network.initiator.md) | Request initiator. |
|
||
|
| [loaderId](./puppeteer.protocol.network.requestwillbesentevent.loaderid.md) | [LoaderId](./puppeteer.protocol.network.loaderid.md) | Loader identifier. Empty string if the request is fetched from worker. |
|
||
|
| [redirectResponse](./puppeteer.protocol.network.requestwillbesentevent.redirectresponse.md) | [Response](./puppeteer.protocol.network.response.md) | Redirect response data. |
|
||
|
| [request](./puppeteer.protocol.network.requestwillbesentevent.request.md) | [Request](./puppeteer.protocol.network.request.md) | Request data. |
|
||
|
| [requestId](./puppeteer.protocol.network.requestwillbesentevent.requestid.md) | [RequestId](./puppeteer.protocol.network.requestid.md) | Request identifier. |
|
||
|
| [timestamp](./puppeteer.protocol.network.requestwillbesentevent.timestamp.md) | [MonotonicTime](./puppeteer.protocol.network.monotonictime.md) | Timestamp. |
|
||
|
| [type](./puppeteer.protocol.network.requestwillbesentevent.type.md) | [ResourceType](./puppeteer.protocol.network.resourcetype.md) | Type of this resource. |
|
||
|
| [wallTime](./puppeteer.protocol.network.requestwillbesentevent.walltime.md) | [TimeSinceEpoch](./puppeteer.protocol.network.timesinceepoch.md) | Timestamp. |
|
||
|
|