Skip to main content

http_client

Function http_client 

Source
pub fn http_client() -> Result<Client, Box<dyn Error>>
Expand description

Returns a reqwest::Client pre-configured with the API key header (if set). Use this instead of bare reqwest::get() / reqwest::Client::new() for any request to the Roboticus server.