ace v0.16.0 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 a Raxx.Request
from a decoded list of headers
Build a Raxx.Response
from a decoded list of headers
Transform a list of decoded headers to a trailers structure
Send a ping frame over an HTTP/2 connection
Transform an Raxx.Request
into a generic headers list
Transform a Raxx.Response
into a generic headers list
Link to this section Functions
Build a Raxx.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 a Raxx.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.
Send a ping frame over an HTTP/2 connection.
Transform an Raxx.Request
into a generic headers list.
This headers list can be encoded via Ace.HPack
.
Transform a Raxx.Response
into a generic headers list.
This headers list can be encoded via Ace.HPack
.