hyper is a fast and correct HTTP implementation written in and for Rust.
If just starting out, check out the Guides first.
If looking for just a convenient HTTP client, consider the reqwest crate.
The following optional features are available:
runtime(enabled by default): Enables convenient integration with
tokio, providing connectors and acceptors for TCP, and a default executor.
tcp(enabled by default): Enables convenient implementations over TCP (using tokio).
Due to the
Streamtrait not being stable, this feature is also unstable. It does not follow normal semver.
Streaming bodies for Requests and Responses
Error and Result module.
HTTP header types
Services and MakeServices
A stream of
A piece of a message body.
A set of HTTP headers
The Request Method (VERB)
Represents an HTTP request.
Represents an HTTP response
An HTTP status code (
The URI component of a request.
Represents a version of the HTTP spec.