Http3RequestReader
struct Http3RequestReaderPer-stream H3 request-side reader.
The reader is stateful: it tracks whether the initial HEADERS frame has been seen so a second HEADERS frame can be classified as either trailers (legal, after at least one DATA frame in practice but the spec allows zero) or a protocol error (e.g. when the state has already advanced to TRAILERS).
Implements Copyable, Movable
- Fields
state: Intmax_field_section_bytes: UInt64max_body_bytes: UInt64: Most request-body bytes accepted across all DATA frames.body_bytes: UInt64: Request-body bytes delivered so far.qpack_table: ArcPointer[QpackDynamicTable]: RFC 9204 dynamic table shared (byArcPointer) from the owning :class:Http3Connection. Defaults to an empty (capacity-0) table so a standalone reader decodes static-only field sections identically to the static path; the connection injects its real table at :meth:Http3Connection.open_request_streamso dynamic references resolve.
new
def new(max_field_section_bytes: UInt64 = UInt64(8192), max_body_bytes: UInt64 = UInt64(10485760)) -> Self