SignedExchangeHeader

@Serializable
data class SignedExchangeHeader(val requestUrl: String, val responseCode: Int, val responseHeaders: Map<String, JsonElement>, val signatures: List<Network.SignedExchangeSignature>, val headerIntegrity: String)

Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation

Constructors

Link copied to clipboard
constructor(requestUrl: String, responseCode: Int, responseHeaders: Map<String, JsonElement>, signatures: List<Network.SignedExchangeSignature>, headerIntegrity: String)

Properties

Link copied to clipboard

Signed exchange header integrity hash in the form of sha256-<base64-hash-value>.

Link copied to clipboard

Signed exchange request URL.

Link copied to clipboard

Signed exchange response code.

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

Signed exchange response headers.

Link copied to clipboard

Signed exchange response signature.