Skip to main content

Module http

Module http 

Source

Re-exports§

pub use field::Field;
pub use field::FieldBlock;
pub use field::FieldStorage;
pub use field::FieldValueWriter;
pub use field::OwnedField;
pub use field::OwnedFieldBlock;
pub use field::PackedFieldError;
pub use field::PackedFieldIter;
pub use field::PackedFieldRangeIter;
pub use field::PackedFields;
pub use field::PooledFieldBlock;
pub use field::VecFieldBlock;
pub use huffman::HpackHuffmanDecodeError;
pub use huffman::HpackHuffmanDecoder;
pub use huffman::HpackHuffmanEncoded;
pub use huffman::HpackHuffmanError;
pub use huffman::HpackHuffmanSource;

Modules§

body_kind
codec
compress
field
head
huffman
scan
Safe byte-scanning primitives for HTTP syntax.

Structs§

Borrowed
A non-owning byte slice valid for 'a.
Bytes
Bytes with a statically selected storage policy and no wrapper overhead.
Chunked
EncodedResponse
FixedResponse
HeadInner
HeaderItem
HeaderList
HeaderNameToken
HeaderStaticValueToken
HeaderTemplate
Headers
InlineHeaderValue
IterStream
Method
The Request Method (VERB)
MonoResponseInner
PathParamRanges
PrefixedInt
An HPACK/QPACK integer whose prefix width is fixed by its type.
Response
ResponsePlan
ResponseView
Retained
Bytes retained beyond their callback through pooled or shared ownership.
StaticHeaderBytes
StaticHeaderFields
StaticResponseInner
A response whose body is guaranteed to live for the entire process.
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
Stream
StreamingShape
WireHeaderFields

Enums§

Body
CacheTemplate
Egress
HeaderValueInner
HotHeadInner
InlineShape
NeverStream
PrefixedIntError
Preparation
Prepared
Serve
StaticShape
StreamShape
SyncShape

Constants§

CHUNK_TERMINATOR
DEFAULT_HEADER_CAPACITY

Traits§

EncodedBody
HeaderNameRef
IntoResponseShape
OwnedShape
ResponseSink
Shape
ShapeMetadata

Type Aliases§

ShapeKind
ShapeStream