Skip to main content

Module h2

Module h2 

Source
Expand description

Trillium HTTP/2 types (RFC 9113).

This module is the server-side HTTP/2 implementation used by trillium-http. Most items are crate-private; only the error types are currently part of the public surface.

Structs§

H2Connection
Shared per-connection state for HTTP/2.
H2Driver
Owns the per-connection TCP transport and drives the HTTP/2 demux loop.
H2Transport
A single HTTP/2 stream’s transport handle.

Enums§

H2Error
An error that may occur during HTTP/2 stream or connection processing.
H2ErrorCode
H2 error codes per RFC 9113 §7.