Skip to main content

build_https_client_with_connect_timeout

Function build_https_client_with_connect_timeout 

Source
pub fn build_https_client_with_connect_timeout(
    tls_config: ClientConfig,
    connection_timeout: Duration,
) -> HttpsClient
Expand description

Builds an HTTPS-capable hyper client with a custom TLS configuration and connection timeout applied to the underlying TCP connector.