Expand description
HTTP protocol support for Asupersync.
This module provides HTTP/1.1 and HTTP/2 protocol implementations with cancel-safe body handling and connection pooling.
§Body Types
The body module provides the Body trait and common
implementations for streaming HTTP message bodies.
§HTTP/2
The h2 module provides HTTP/2 protocol support including frame
parsing, HPACK compression, and flow control.
§Connection Pooling
The pool module provides connection pool management for HTTP clients,
enabling connection reuse for improved performance.
Re-exports§
pub use body::Body;pub use body::Empty;pub use body::Frame;pub use body::Full;pub use body::HeaderMap;pub use body::HeaderName;pub use body::HeaderValue;pub use body::SizeHint;pub use h1::ClientError;pub use h1::ClientRequestBuilder;pub use h1::HttpClient;pub use h1::HttpClientBuilder;pub use h1::HttpClientConfig;pub use h1::Method;pub use h1::MultipartError;pub use h1::MultipartForm;pub use h1::ParsedUrl;pub use h1::RedirectPolicy;pub use h1::Request;pub use h1::RequestBuilder;pub use h1::Response;pub use h1::ResponseBuilder;pub use h1::RetryPolicy;pub use h1::Scheme;pub use h1::StatusCode;pub use h1::Version;pub use client::Client;pub use h3_native::H3NativeError as H3Error;pub use h3_native::H3ConnectionConfig;pub use h3_native::H3ConnectionState;pub use h3_native::H3ControlState;pub use h3_native::H3EndpointRole;pub use h3_native::H3Frame as NativeH3Frame;pub use h3_native::H3NativeError;pub use h3_native::H3PseudoHeaders;pub use h3_native::H3QpackMode;pub use h3_native::H3RequestHead;pub use h3_native::H3RequestStreamState;pub use h3_native::H3ResponseHead;pub use h3_native::H3Settings as NativeH3Settings;pub use h3_native::H3UniStreamType;pub use h3_native::QpackFieldPlan;pub use h3_native::UnknownSetting;pub use h3_native::qpack_decode_field_section;pub use h3_native::qpack_encode_field_section;pub use h3_native::qpack_encode_request_field_section;pub use h3_native::qpack_encode_response_field_section;pub use h3_native::qpack_plan_to_header_fields;pub use h3_native::qpack_static_plan_for_request;pub use h3_native::qpack_static_plan_for_response;pub use h3_native::validate_request_pseudo_headers;pub use h3_native::validate_response_pseudo_headers;pub use pool::Pool;pub use pool::PoolConfig;pub use pool::PoolKey;pub use pool::PoolStats;pub use pool::PooledConnectionMeta;pub use pool::PooledConnectionState;
Modules§
- body
- HTTP body abstraction for streaming request and response bodies.
- client
- High-level pooled
Clientfacade. - compress
- HTTP body compression and content-encoding negotiation.
- h1
- HTTP/1.1 protocol implementation.
- h2
- HTTP/2 protocol implementation.
- h3_
native - Native HTTP/3 protocol primitives over QUIC streams.
- pool
- HTTP connection pooling.