Expand description
Http protocol support.
Re-exports§
pub use self::client::Client;
pub use self::error::ResponseError;
Modules§
- body
- Traits and structures to aid consuming and writing HTTP payloads.
- client
- HTTP Client
- encoding
- Content-Encoding support
- error
- Http related errors
- h1
- HTTP/1 implementation
- h2
- HTTP/2 implementation
- header
- Various http headers
- test
- Test helpers to use during testing.
- uri
- URI component of request and response lines
Structs§
- Date
Service - Header
Map - A set of HTTP headers
- Http
Service ServiceFactory
HTTP1.1/HTTP2 transport implementation- Http
Service Builder - A http service builder
- Method
- The Request Method (VERB)
- Request
- Request
- Request
Head - Response
- An HTTP Response
- Response
Builder - An HTTP response builder
- Response
Head - Service
Config - Http service configuration
- Status
Code - An HTTP status code (
status-code
in RFC 9110 et al.). - Uri
- The URI component of a request.
- Version
- Represents a version of the HTTP spec.
Enums§
- Connection
Type - Represents various types of connection
- Http
Protocol - Http protocol definition
- Keep
Alive - Server keep-alive setting
- Payload
- Type represent streaming payload
- Request
Head Type
Traits§
- Http
Message - Trait that implements general purpose operations on http messages
Type Aliases§
- Payload
Stream - Type represent boxed payload