Function set_client

Source
pub fn set_client(client: Client) -> Result<(), ()>
Expand description

set the crate wide reqwest::Client. This function should be called before performing any other interaction with this create. Otherwise the client can not be set anymore and an error will be return. If this function is not called, the client will be automaticly initialize with reqwest::Client::default