Skip to main content

client_config

Function client_config 

Source
pub fn client_config(reject_unauthorized: bool) -> Arc<ClientConfig> ⓘ
Expand description

The shared client ClientConfig for a given rejectUnauthorized setting. Public so the https client (https.request/https.get) reuses the same trust configuration as tls.connect.