data class RequestPausedEvent : ProtocolEvent
(source)
Represents event frames for Fetch.requestPaused
Issued when the domain is enabled and the request URL matches the specified filter. The request is paused until the client responds with one of continueRequest, failRequest or fulfillRequest. The stage of the request can be determined by presence of responseErrorReason and responseStatusCode -- the request is at the response stage if either of these fields is present and in the request stage otherwise.
RequestPausedEvent(requestId: RequestId, request: Request, frameId: FrameId, resourceType: ResourceType, responseErrorReason: ErrorReason? = null, responseStatusCode: Int? = null, responseHeaders: List<HeaderEntry>? = null, networkId: RequestId? = null)
Represents event frames for Fetch.requestPaused |
val frameId: FrameId
The id of the frame that initiated the request. |
|
val networkId: RequestId?
If the intercepted request had a corresponding Network.requestWillBeSent event fired for it, then this networkId will be the same as the requestId present in the requestWillBeSent event. |
|
val request: Request
The details of the request. |
|
val requestId: RequestId
Each request the page makes will have a unique id. |
|
val resourceType: ResourceType
How the requested resource will be used. |
|
val responseErrorReason: ErrorReason?
Response error if intercepted at response stage. |
|
val responseHeaders: List<HeaderEntry>?
Response headers if intercepted at the response stage. |
|
val responseStatusCode: Int?
Response code if intercepted at response stage. |
fun protocolDomain(): String |