data class RequestWillBeSentEvent : NetworkEvent
Fired when page is about to send HTTP request.
<init> |
Fired when page is about to send HTTP request. RequestWillBeSentEvent(requestId: RequestId, loaderId: LoaderId, documentURL: String, request: Request, timestamp: MonotonicTime, wallTime: TimeSinceEpoch, initiator: Initiator, redirectResponse: Response? = null, type: ResourceType? = null, frameId: FrameId? = null, hasUserGesture: Boolean? = null) |
documentURL |
URL of the document this request is loaded for. val documentURL: String |
frameId |
Frame identifier. val frameId: FrameId? |
hasUserGesture |
Whether the request is initiated by a user gesture. Defaults to false. val hasUserGesture: Boolean? |
initiator |
Request initiator. val initiator: Initiator |
loaderId |
Loader identifier. Empty string if the request is fetched from worker. val loaderId: LoaderId |
redirectResponse |
Redirect response data. val redirectResponse: Response? |
request |
Request data. val request: Request |
requestId |
Request identifier. val requestId: RequestId |
timestamp |
Timestamp. val timestamp: MonotonicTime |
type |
Type of this resource. val type: ResourceType? |
wallTime |
Timestamp. val wallTime: TimeSinceEpoch |