chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.network.events / NetworkEvent / ResponseReceivedExtraInfoEvent

ResponseReceivedExtraInfoEvent

data class ResponseReceivedExtraInfoEvent : NetworkEvent

Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.

Official doc

Constructors

<init>

Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.

ResponseReceivedExtraInfoEvent(requestId: RequestId, blockedCookies: List<BlockedSetCookieWithReason>, headers: Headers, headersText: String? = null)

Properties

blockedCookies

A list of cookies which were not stored from the response along with the corresponding reasons for blocking. The cookies here may not be valid due to syntax errors, which are represented by the invalid cookie line string instead of a proper cookie.

val blockedCookies: List<BlockedSetCookieWithReason>

headers

Raw response headers as they were received over the wire.

val headers: Headers

headersText

Raw response header text as it was received over the wire. The raw text may not always be available, such as in the case of HTTP/2 or QUIC.

val headersText: String?

requestId

Request identifier. Used to match this information to another responseReceived event.

val requestId: RequestId