Skip to main content

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 and not (WASI and WASIp1)
pub use hyper;Non-target_family=wasm and hyper
pub use hyper_util;Non-target_family=wasm and hyper

Structs§

AuthLayerjwt-auth and non-target_family=wasm
The AuthLayer uses the provided JwtSecret to generate and validate the jwt token in the requests.
AuthServicejwt-auth and non-target_family=wasm
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.
TraceParentLayertraceparent and non-target_family=wasm
A layer to propagate trace context using W3C traceparent header standard.
TraceParentServicetraceparent and non-target_family=wasm
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 and not (WASI and WASIp1)
Connection details for a ReqwestTransport.
ReqwestTransportreqwest and not (WASI and WASIp1)
An Http transport using reqwest.