Skip to main content

Module http2

Module http2 

Source
Expand description

Standalone raw HTTP/2 preface and frame views and caller-buffer construction. Raw, allocation-free HTTP/2 wire views and caller-buffer construction.

Modules§

hpack
RFC 7541 HPACK wire primitives. HPACK wire primitives.

Structs§

Http2ClientPreface
A validated borrowed HTTP/2 client connection preface.
Http2Continuation
A validated borrowed HTTP/2 CONTINUATION frame.
Http2ContinuationBuilder
Builds a typed HTTP/2 CONTINUATION frame in caller-owned storage.
Http2Data
A validated borrowed HTTP/2 DATA frame.
Http2DataBuilder
Builds a typed HTTP/2 DATA frame in caller-owned storage.
Http2ErrorCode
An HTTP/2 error code, preserving extension and unknown values.
Http2Frame
A structurally bounded raw HTTP/2 frame preserving all header fields.
Http2FrameBuilder
Builds a raw HTTP/2 frame in caller-owned storage.
Http2FrameMut
A mutable structurally bounded raw HTTP/2 frame preserving all header fields.
Http2FrameType
An HTTP/2 frame type, preserving extension and unknown values.
Http2Goaway
A validated borrowed HTTP/2 GOAWAY frame.
Http2GoawayBuilder
Builds a typed HTTP/2 GOAWAY frame in caller-owned storage.
Http2HeaderBlockSequence
Validates one bounded HTTP/2 header-block fragment sequence at a time.
Http2Headers
A validated borrowed HTTP/2 HEADERS frame.
Http2HeadersBuilder
Builds a typed HTTP/2 HEADERS frame in caller-owned storage.
Http2Ping
A validated borrowed HTTP/2 PING frame.
Http2PingBuilder
Builds a typed HTTP/2 PING frame in caller-owned storage.
Http2Priority
The priority section carried by a HEADERS frame.
Http2PriorityFrame
A validated borrowed HTTP/2 PRIORITY frame.
Http2PriorityFrameBuilder
Builds a typed HTTP/2 PRIORITY frame in caller-owned storage.
Http2PushPromise
A validated borrowed HTTP/2 PUSH_PROMISE frame.
Http2PushPromiseBuilder
Builds a typed HTTP/2 PUSH_PROMISE frame in caller-owned storage.
Http2RstStream
A validated borrowed HTTP/2 RST_STREAM frame.
Http2RstStreamBuilder
Builds a typed HTTP/2 RST_STREAM frame in caller-owned storage.
Http2Setting
A raw-preserving HTTP/2 SETTINGS parameter.
Http2SettingId
An HTTP/2 SETTINGS parameter identifier, preserving extension and unknown values.
Http2Settings
A validated borrowed HTTP/2 SETTINGS frame.
Http2SettingsBuilder
Builds a typed HTTP/2 SETTINGS frame in caller-owned storage.
Http2SettingsIter
Iterator over validated HTTP/2 SETTINGS parameters.
Http2StreamId
An HTTP/2 stream identifier preserving its reserved high bit.
Http2WindowIncrement
A WINDOW_UPDATE increment preserving its reserved high bit.
Http2WindowUpdate
A validated borrowed HTTP/2 WINDOW_UPDATE frame.
Http2WindowUpdateBuilder
Builds a typed HTTP/2 WINDOW_UPDATE frame in caller-owned storage.

Enums§

Http2BuildError
Failure to construct an HTTP/2 frame in caller-provided storage.
Http2HeaderBlockFragment
An accepted HTTP/2 header-block fragment with its typed frame view intact.
Http2HeaderBlockSequenceError
Failure to preserve HTTP/2 header-block fragment ordering.
Http2ParseError
Failure to validate a raw HTTP/2 wire layout.
Http2StreamIdError
Failure to create an outgoing HTTP/2 stream identifier.

Constants§

HTTP2_CLIENT_PREFACE
The exact HTTP/2 client connection preface.