Function zng::task::http::default_client

source ·
pub fn default_client() -> &'static Client
Expand description

The Client used by the functions in this module.

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

§Defaults

The default client is created using Client::new.