Crate alloy_transport_http

Crate alloy_transport_http 

Source
Expand description

§alloy-transport-http

HTTP transport implementation.

§Providing HTTP Headers

The HTTP request headers will be extended if a http::HeaderMap is present in the request metadata. This extension functionality is only available for single requests and is not supported for batch requests.

Re-exports§

pub use reqwest;reqwest
pub use hyper;Non-target_family=wasm and hyper
pub use hyper_util;Non-target_family=wasm and hyper

Structs§

AuthLayerNon-target_family=wasm and jwt-auth
The AuthLayer uses the provided JwtSecret to generate and validate the jwt token in the requests.
AuthServiceNon-target_family=wasm and jwt-auth
A service that generates and validates the jwt token in the requests using the provided secret.
Client
Rexported from reqwest. An asynchronous Client to make Requests with.
Http
An Http transport.
HyperClientNon-target_family=wasm and hyper
A hyper based client that can be used with tower layers.
TraceParentLayerNon-target_family=wasm and traceparent
A layer to propagate trace context using W3C traceparent header standard.
TraceParentServiceNon-target_family=wasm and traceparent
A service that injects trace context into requests using W3C traceparent header standard.

Type Aliases§

HyperResponseNon-target_family=wasm and hyper
Alias for Response<Incoming>
HyperResponseFutNon-target_family=wasm and hyper
Alias for pinned box future that results in HyperResponse
HyperTransportNon-target_family=wasm and hyper
A hyper based transport client.
ReqwestConnectreqwest
Connection details for a ReqwestTransport.
ReqwestTransportreqwest
An Http transport using reqwest.