Class SignedExchangeHeader
Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
public sealed record SignedExchangeHeader : IEquatable<SignedExchangeHeader>
- Inheritance
-
SignedExchangeHeader
- Implements
- Inherited Members
Constructors
SignedExchangeHeader(string, long, IReadOnlyDictionary<string, string>, ImmutableArray<SignedExchangeSignature>, string)
Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
public SignedExchangeHeader(string RequestUrl, long ResponseCode, IReadOnlyDictionary<string, string> ResponseHeaders, ImmutableArray<SignedExchangeSignature> Signatures, string HeaderIntegrity)
Parameters
RequestUrlstringSigned exchange request URL.
ResponseCodelongSigned exchange response code.
ResponseHeadersIReadOnlyDictionary<string, string>Signed exchange response headers.
SignaturesImmutableArray<SignedExchangeSignature>Signed exchange response signature.
HeaderIntegritystringSigned exchange header integrity hash in the form of sha256-<base64-hash-value>.
Properties
HeaderIntegrity
Signed exchange header integrity hash in the form of sha256-<base64-hash-value>.
public string HeaderIntegrity { get; init; }
Property Value
RequestUrl
Signed exchange request URL.
public string RequestUrl { get; init; }
Property Value
ResponseCode
Signed exchange response code.
public long ResponseCode { get; init; }
Property Value
ResponseHeaders
Signed exchange response headers.
public IReadOnlyDictionary<string, string> ResponseHeaders { get; init; }
Property Value
Signatures
Signed exchange response signature.
public ImmutableArray<SignedExchangeSignature> Signatures { get; init; }