Function swagger::connector::https_connector
[−]
[src]
ⓘImportant traits for Box<W>
pub fn https_connector<CA>(
ca_certificate: CA
) -> Box<Fn(&Handle) -> HttpsConnector<HttpConnector> + Send + Sync> where
CA: AsRef<Path>,
Returns a function which creates an https-connector
Arguments
ca_certificate
- Path to CA certificate used to authenticate the server