Expand description
HTTP/2 parser
HTTP/2 https://httpwg.org/specs/rfc9113.html HTTP semantics https://httpwg.org/specs/rfc9110.html
Re-exports§
pub use enumflags2;pub use nom;
Structs§
- Encoded
Frame Type - Error
Code - Frame
- See https://httpwg.org/specs/rfc9113.html#FrameHeader
- GoAway
- Payload for a GOAWAY frame
- Priority
Spec - RstStream
- Payload for a RST_STREAM frame
- Setting
Pairs - Settings
- cf. https://httpwg.org/specs/rfc9113.html#SettingValues
- Stream
Id - Stream
IdOut OfRange - Window
Update - Payload for a WINDOW_UPDATE frame
Enums§
- Continuation
Flags - See https://httpwg.org/specs/rfc9113.html#CONTINUATION
- Data
Flags - See https://httpwg.org/specs/rfc9113.html#DATA
- Frame
Type - Typed flags for various frame types
- Headers
Flags - See https://httpwg.org/specs/rfc9113.html#rfc.section.6.2
- Known
Error Code - Ping
Flags - See https://httpwg.org/specs/rfc9113.html#PING
- RawFrame
Type - See https://httpwg.org/specs/rfc9113.html#FrameTypes
- Setting
- Settings
Error - Settings
Flags - See https://httpwg.org/specs/rfc9113.html#SETTINGS
Constants§
- PREFACE
- This is sent by h2 clients after negotiating over ALPN, or when doing h2c.
Traits§
Functions§
- pack_
bit_ and_ u31 - Pack a bit and a u31 into a 4-byte array (big-endian)
- pack_
reserved_ and_ stream_ id - parse_
bit_ and_ u31 - See https://httpwg.org/specs/rfc9113.html#FrameHeader - the first bit is reserved, and the rest is a 31-bit stream id
- preface