Skip to main content

Module http1

Module http1 

Source
Expand description

Standalone HTTP/1 head and chunked-body views and caller-buffer construction. Standalone allocation-free HTTP/1.0 and HTTP/1.1 wire views.

Structs§

Http1Chunk
A validated nonzero HTTP/1 chunk.
Http1ChunkedBody
A complete, exactly bounded chunked HTTP/1 body.
Http1Chunks
Iterator over validated nonzero HTTP/1 chunks.
Http1Field
A validated HTTP/1 field line.
Http1FieldIter
Iterator over validated HTTP/1 fields.
Http1FieldRef
A caller-supplied HTTP/1 field.
Http1Fields
Ordered, validated HTTP/1 fields.
Http1RequestHead
A parsed HTTP/1 request head.
Http1RequestHeadBuilder
Builds an HTTP/1 request head in caller-owned storage.
Http1ResponseHead
A parsed HTTP/1 response head.
Http1ResponseHeadBuilder
Builds an HTTP/1 response head in caller-owned storage.

Enums§

Http1BodyFraming
HTTP/1 body framing selected by RFC 9112.
Http1BuildError
Failure to build HTTP/1 bytes in caller-owned storage.
Http1ParseError
Failure to parse HTTP/1 bytes.
Http1Version
A supported HTTP/1 protocol version.