SignedExchangeHeader

@Serializable
data class SignedExchangeHeader(val requestUrl: String, val responseCode: Int, val responseHeaders: Headers, val signatures: List<SignedExchangeSignature>, val headerIntegrity: String)(source)

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

Official doc

Constructors

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

Properties

Link copied to clipboard

Signed exchange header integrity hash in the form of "sha256-".

Link copied to clipboard

Signed exchange request URL.

Link copied to clipboard

Signed exchange response code.

Link copied to clipboard

Signed exchange response headers.

Link copied to clipboard

Signed exchange response signature.