pl.wendigo.chrome.api.network / RequestWillBeSentExtraInfoEvent

RequestWillBeSentExtraInfoEvent

data class RequestWillBeSentExtraInfoEvent : Event (source)

Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.

Link
Network#requestWillBeSentExtraInfo event documentation.

Constructors

<init>

RequestWillBeSentExtraInfoEvent(requestId: RequestId, blockedCookies: List<BlockedCookieWithReason>, headers: Headers)

Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.

Properties

blockedCookies

val blockedCookies: List<BlockedCookieWithReason>

A list of cookies which will not be sent with this request along with corresponding reasons for blocking.

headers

val headers: Headers

Raw request headers as they will be sent over the wire.

requestId

val requestId: RequestId

Request identifier. Used to match this information to an existing requestWillBeSent event.

Inherited Functions

protocolDomain

fun protocolDomain(): String