Expand description
Sans-IO streaming HTTP/2 with independent connection and stream flow control.
Frame and HPACK codecs are pure Rust. Application consumption returns receive credit; body producers run only when both peer windows permit transmission.
Structs§
- Data
Provider - Owned incremental body source; callbacks execute on the session thread.
- Header
Field - Borrowed HTTP/2 header bytes.
- Hpack
Decoder - A connection-direction HPACK decoder with bounded table and header-list sizes.
- Http2
Session - A single-threaded, incremental HTTP/2 connection with no socket ownership.
- Http2
Settings - SETTINGS values. Omitted wire settings decode to their RFC initial values.
- Protocol
Error - A connection-level framing, compression or lifecycle failure.
Enums§
- Data
Poll - One bounded read from an application-owned response or request body.
- Frame
Type - Frame types from RFC 9113, including extension type codes.
- Http2
Role - Endpoint role; server push is intentionally disabled.
- Session
Event - Owned events retain their payload until the application dispatches them.
Traits§
- Data
Source - A body producer resumes after the application makes more data available.