RequestWillBeSentExtraInfoParameter

@Serializable
data class RequestWillBeSentExtraInfoParameter(val requestId: String, val associatedCookies: List<Network.AssociatedCookie>, val headers: Map<String, JsonElement>, val connectTiming: Network.ConnectTiming, val clientSecurityState: Network.ClientSecurityState? = null, val siteHasCookieInOtherPartition: Boolean? = null)

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.

Constructors

Link copied to clipboard
constructor(requestId: String, associatedCookies: List<Network.AssociatedCookie>, headers: Map<String, JsonElement>, connectTiming: Network.ConnectTiming, clientSecurityState: Network.ClientSecurityState? = null, siteHasCookieInOtherPartition: Boolean? = null)

Properties

Link copied to clipboard

A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReasons field set.

Link copied to clipboard

The client security state set for the request.

Link copied to clipboard

Connection timing information for the request.

Link copied to clipboard
val headers: Map<String, JsonElement>

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

Link copied to clipboard

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

Link copied to clipboard

Whether the site has partitioned cookies stored in a partition different than the current one.