chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.fetch.events / FetchEvent / RequestPausedEvent

RequestPausedEvent

data class RequestPausedEvent : FetchEvent

Constructors

<init>

RequestPausedEvent(requestId: RequestId, request: Request, frameId: FrameId, resourceType: ResourceType, responseErrorReason: ErrorReason? = null, responseStatusCode: Int? = null, responseHeaders: List<HeaderEntry>? = null, networkId: RequestId? = null)

Properties

frameId

The id of the frame that initiated the request.

val frameId: FrameId

networkId

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 networkId: RequestId?

request

The details of the request.

val request: Request

requestId

Each request the page makes will have a unique id.

val requestId: RequestId

resourceType

How the requested resource will be used.

val resourceType: ResourceType

responseErrorReason

Response error if intercepted at response stage.

val responseErrorReason: ErrorReason?

responseHeaders

Response headers if intercepted at the response stage.

val responseHeaders: List<HeaderEntry>?

responseStatusCode

Response code if intercepted at response stage.

val responseStatusCode: Int?