Trait ruma::client::DefaultConstructibleHttpClient

source ·
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<HttpsConnector<HttpConnector>, Full<Bytes>>

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

impl DefaultConstructibleHttpClient for Client<HttpConnector, Full<Bytes>>

Available on crate feature hyper only.
source§

impl DefaultConstructibleHttpClient for Client

Implementors§