Struct hyper_native_tls::NativeTlsClient [] [src]

pub struct NativeTlsClient { /* fields omitted */ }

An SslClient implementation using native-tls.

Methods

impl NativeTlsClient
[src]

Returns a NativeTlsClient with a default configuration.

To customize the configuration, build a TlsConnector and then use NativeTlsClient's From implementation.

If set, the TlsConnector::danger_connect_without_providing_domain_for_certificate_verification_and_server_name_indication method will be used to connect.

Trait Implementations

impl From<TlsConnector> for NativeTlsClient
[src]

Performs the conversion.

impl<T> SslClient<T> for NativeTlsClient where
    T: NetworkStream + Send + Clone + Debug + Sync
[src]

The protected stream.

Wrap a client stream with SSL.