alloy_transport_http

Type Alias ReqwestConnect

source
pub type ReqwestConnect = HttpConnect<ReqwestTransport>;
Available on crate feature reqwest only.
Expand description

Connection details for a ReqwestTransport.

Aliased Type§

struct ReqwestConnect { /* private fields */ }

Trait Implementations§

source§

impl TransportConnect for ReqwestConnect

source§

type Transport = Http<Client>

The transport type that is returned by connect.
source§

fn is_local(&self) -> bool

Returns true if the transport connects to a local resource.
source§

fn get_transport<'a: 'b, 'b>( &'a self, ) -> Pbf<'b, Self::Transport, TransportError>

Connect to the transport, returning a Transport instance.