ResponseReceivedEarlyHintsParameter

@Serializable
data class ResponseReceivedEarlyHintsParameter(val requestId: String, val headers: Map<String, JsonElement>)

Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event.

Constructors

Link copied to clipboard
constructor(requestId: String, headers: Map<String, JsonElement>)

Properties

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

Raw response headers as they were received over the wire. Duplicate headers in the response are represented as a single key with their values concatentated using \n as the separator. See also headersText that contains verbatim text for HTTP/1.*.

Link copied to clipboard

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