Skip to main content

create_client

Function create_client 

Source
pub fn create_client(settings: &Settings) -> Result<Client, Error>
Expand description

Create an HTTP client with the given settings.

ยงErrors

Returns Error::Context if the source IP is invalid. Returns Error::NetworkError if the client fails to build.