ace v0.13.1 Ace.HTTP2 View Source
Hypertext Transfer Protocol Version 2 (HTTP/2)
HTTP/2 enables a more efficient use of network resources and a reduced perception of latency by introducing header field compression and allowing multiple concurrent exchanges on the same connection. It also introduces unsolicited push of representations from servers to clients.
Quote from rfc 7540.
Link to this section Summary
Functions
Build an Ace.Request
from a decoded list of headers
Build an Ace.Response
from a decoded list of headers
Transform a list of decoded headers to a trailers structure
Transform an Ace.Request
into a generic headers list
Transform an Ace.Response
into a generic headers list
Link to this section Functions
Build an Ace.Request
from a decoded list of headers.
Note the required pseudo-headers must be first.
Request pseudo-headers are; :scheme
, :authority
, :method
& :path
.
Duplicate or missing pseudo-headers will return an error.
Build an Ace.Response
from a decoded list of headers.
Note the required pseudo-headers must be first.
Response pseudo-headers are; :status
.
Duplicate or missing pseudo-headers will return an error.
Transform a list of decoded headers to a trailers structure.
Note there are no required headers in a trailers set.
Transform an Ace.Request
into a generic headers list.
This headers list can be encoded via Ace.HPack
.
Transform an Ace.Response
into a generic headers list.
This headers list can be encoded via Ace.HPack
.