Skip to main content

build_http_stack_config

Function build_http_stack_config 

Source
pub fn build_http_stack_config(
    config: &HttpClientConfig,
) -> Result<HttpStackConfig>
Expand description

Construct a defect_http::HttpStackConfig from the typed config.

ยงErrors

Returns an error when proxy.mode = Explicit and the http_proxy / https_proxy URI cannot be parsed, to avoid triggering the same error later during provider assembly.