Struct hyper_openssl::HttpsConnector [] [src]

pub struct HttpsConnector<T> { /* fields omitted */ }

An Connector using OpenSSL to support http and https schemes.

Methods

impl HttpsConnector<HttpConnector>
[src]

Creates a new HttpsConnector with default settings and using the standard Hyper HttpConnector.

impl<T> HttpsConnector<T> where
    T: Connect
[src]

Creates a new HttpsConnector.

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.

Registers a callback which can customize the Ssl of each connection.

It is provided with a reference to the SslRef as well as the URI.

Trait Implementations

impl<T: Clone> Clone for HttpsConnector<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Service for HttpsConnector<T> where
    T: Connect
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

Process the request and return the response asynchronously.