struct Protocol::Network::SignedExchangeHeader

Overview

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

Included Modules

Defined in:

protocol/network.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def header_integrity : String #

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


[View source]
def request_url : String #

Signed exchange request URL.


[View source]
def response_code : Int::Primitive #

Signed exchange response code.


[View source]
def response_headers : Headers #

Signed exchange response headers.


[View source]
def signatures : Array(SignedExchangeSignature) #

Signed exchange response signature.


[View source]