http_client

Function http_client 

Source
pub fn http_client() -> &'static dyn HttpClient
Expand description

The HttpClient used by the functions in this module.

You can replace the default client at the start of the process using set_http_client.

ยงDefaults

The default client is a minimal implementation that uses the system curl command line executable. You can set the "ZNG_CURL" environment variable before the first usage to define the path to the curl executable.