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

Installs the process transport on the first call (see scope::http::shared) and prints the notices. Later calls return the same transport.

ยงErrors

Returns the error when the transport cannot be built.