Skip to main content

Module http

Module http 

Source

Re-exports§

pub use field::DecodedFieldBlock;
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;
pub use response::Body;
pub use response::CHUNK_TERMINATOR;
pub use response::CacheTemplate;
pub use response::Chunked;
pub use response::DEFAULT_HEADER_CAPACITY;
pub use response::Egress;
pub use response::EncodedBody;
pub use response::EncodedResponse;
pub use response::FixedResponse;
pub use response::HeadInner;
pub use response::HeaderItem;
pub use response::HeaderList;
pub use response::HeaderNameRef;
pub use response::HeaderNameToken;
pub use response::HeaderStaticValueToken;
pub use response::HeaderTemplate;
pub use response::HeaderValueInner;
pub use response::Headers;
pub use response::HotHeadInner;
pub use response::InlineHeaderValue;
pub use response::InlineShape;
pub use response::IntoResponseShape;
pub use response::IterStream;
pub use response::MonoResponseInner;
pub use response::NeverStream;
pub use response::OwnedShape;
pub use response::Preparation;
pub use response::Prepared;
pub use response::Response;
pub use response::ResponsePlan;
pub use response::ResponseSink;
pub use response::ResponseView;
pub use response::Serve;
pub use response::Shape;
pub use response::ShapeKind;
pub use response::ShapeMetadata;
pub use response::ShapeStream;
pub use response::StaticHeaderBytes;
pub use response::StaticHeaderFields;
pub use response::StaticResponseInner;
pub use response::StaticShape;
pub use response::Stream;
pub use response::StreamShape;
pub use response::StreamingShape;
pub use response::SyncShape;
pub use response::WireHeaderFields;

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