Struct rusoto_core::request::HttpClient [−][src]
pub struct HttpClient<C = HttpsConnector<HttpConnector>> { /* fields omitted */ }
Expand description
Http client for use with AWS services.
Implementations
Create a tls-enabled http client.
An alias for [local_agent_prepend
] for backwards compatibility
Sets a local agent that is prepended to the default HTTP
User-Agent
used by Rusoto.
Sets a local agent that is appended to the default HTTP
User-Agent
used by Rusoto.
Allows for a custom connector to be used with the HttpClient
Allows for a custom connector to be used with the HttpClient with extra configuration options
Alows for a custom builder and connector to be used with the HttpClient
Trait Implementations
impl<C> DispatchSignedRequest for HttpClient<C> where
C: Connect + Clone + Send + Sync + 'static,
impl<C> DispatchSignedRequest for HttpClient<C> where
C: Connect + Clone + Send + Sync + 'static,
fn dispatch(
&self,
request: SignedRequest,
timeout: Option<Duration>
) -> DispatchSignedRequestFuture
fn dispatch(
&self,
request: SignedRequest,
timeout: Option<Duration>
) -> DispatchSignedRequestFuture
Dispatch Request, and then return a Response
Auto Trait Implementations
impl<C = HttpsConnector<HttpConnector<GaiResolver>>> !RefUnwindSafe for HttpClient<C>
impl<C> Send for HttpClient<C> where
C: Send,
impl<C> Sync for HttpClient<C> where
C: Sync,
impl<C> Unpin for HttpClient<C> where
C: Unpin,
impl<C = HttpsConnector<HttpConnector<GaiResolver>>> !UnwindSafe for HttpClient<C>