Skip to main content

create_http_client

Function create_http_client 

Source
pub fn create_http_client(
    config: &Config,
    out: &Output,
) -> Result<Arc<dyn HttpClient>>
Expand description

Builds the transport that config and the environment select (see scope::http::shared) and prints its notices. Each call builds a new one.

ยงErrors

Returns the error when the transport cannot be built.