pub fn native_tls() -> NativeTls
Expand description

Return a default HTTPS connector backed by the hyper_tls crate.

It requires a minimum TLS version of 1.2. It allows you to connect to both http and https URLs.