Struct hyper_openssl::OpensslClient [] [src]

pub struct OpensslClient { /* fields omitted */ }

An SslClient implementation using OpenSSL.

Methods

impl OpensslClient
[src]

Creates a new OpenSslClient with default settings.

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

If certificate verification has been disabled in the SslConnector, verification must be additionally disabled here for that setting to take effect.

Trait Implementations

impl Clone for OpensslClient
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<SslConnector> for OpensslClient
[src]

Performs the conversion.

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

The protected stream.

Wrap a client stream with SSL.