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.