SignedExchangeHeader

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

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

Constructors

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

Properties

headerIntegrity
Link copied to clipboard
val headerIntegrity: String
Signed exchange header integrity hash in the form of "sha256-<base64-hash-value>".
requestUrl
Link copied to clipboard
val requestUrl: String
Signed exchange request URL.
responseCode
Link copied to clipboard
val responseCode: Int
Signed exchange response code.
responseHeaders
Link copied to clipboard
val responseHeaders: Headers
Signed exchange response headers.
signatures
Link copied to clipboard
val signatures: List<SignedExchangeSignature>
Signed exchange response signature.

Sources

jvm source
Link copied to clipboard