Skip to main content

get_global_http_client

Function get_global_http_client 

Source
pub fn get_global_http_client() -> Arc<ClientWithMiddleware>
Expand description

Get the global HTTP client singleton

§Panics

Panics if the global HTTP client has not been initialized. Call init_global_http_client() before using this function.