Skip to main content

build_blocking_client

Function build_blocking_client 

Source
pub fn build_blocking_client(timeout: Option<Duration>) -> Result<Client>
Expand description

Centralized builder for blocking HTTPS clients across wire. Loads the OS native trust store (rustls-tls-native-roots) so corporate proxies, AV cert-resign products, and on-prem CAs validate. Honors the INSECURE_SKIP_TLS_ENV escape hatch for the corporate-proxy emergency case.