Struct rusoto_core::request::HttpClient [−][src]
pub struct HttpClient<C = HttpsConnector<HttpConnector>> { /* fields omitted */ }
Http client for use with AWS services.
Methods
impl HttpClient
[src]
impl HttpClient
impl<C> HttpClient<C> where
C: Connect,
C::Future: 'static,
[src]
impl<C> HttpClient<C> where
C: Connect,
C::Future: 'static,
pub fn from_connector(connector: C) -> Self
[src]
pub fn from_connector(connector: C) -> Self
Allows for a custom connector to be used with the HttpClient
Trait Implementations
impl<C> DispatchSignedRequest for HttpClient<C> where
C: Connect + 'static,
C::Future: 'static,
[src]
impl<C> DispatchSignedRequest for HttpClient<C> where
C: Connect + 'static,
C::Future: 'static,
type Future = HttpClientFuture
The future response value.
fn dispatch(
&self,
request: SignedRequest,
timeout: Option<Duration>
) -> Self::Future
[src]
fn dispatch(
&self,
request: SignedRequest,
timeout: Option<Duration>
) -> Self::Future
Dispatch Request, and then return a Response
Auto Trait Implementations
impl<C> Send for HttpClient<C> where
C: Send + Sync,
impl<C> Send for HttpClient<C> where
C: Send + Sync,
impl<C> Sync for HttpClient<C> where
C: Send + Sync,
impl<C> Sync for HttpClient<C> where
C: Send + Sync,