pub trait DefaultConstructibleHttpClient: HttpClient {
    // Required method
    fn default() -> Self;
}
Available on crate feature client only.
Expand description

An HTTP client that has a default configuration.

Required Methods§

source

fn default() -> Self

Creates a new HTTP client with default configuration.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DefaultConstructibleHttpClient for Client

source§

fn default() -> Client

source§

impl DefaultConstructibleHttpClient for Client<HttpsConnector<HttpConnector>>

Available on crate feature hyper-native-tls only.
source§

fn default() -> Client<HttpsConnector<HttpConnector>>

source§

impl DefaultConstructibleHttpClient for Client<HttpConnector>

Available on crate feature hyper only.
source§

fn default() -> Client<HttpConnector>

Implementors§