Skip to main content

Crate fetch_hyper

Crate fetch_hyper 

Source
Expand description

Hyper-based HTTP transport.

§Internal implementation detail

This crate is an internal implementation detail of the SDK. It is not part of the public API surface, must not be re-exported, and offers no stability guarantees: anything may change in any release, including patch releases.

Scope is narrow: just the transport that issues HTTP/1.1 or HTTP/2 requests over TLS (or plain-text). No higher-level pipeline, retry, or caching.

The entry points are:

The runtime is supplied by the caller via an anyspawn::Spawner.

Structs§

HyperTransport
A type-erased Hyper request handler.
HyperTransportBuilder
Builder for HyperTransport.

Traits§

Connect
A trait alias for types that establish connections to remote endpoints.
HyperIo
A trait alias for any I/O stream usable by hyper.