Skip to main content

build_client

Function build_client 

Source
pub fn build_client(cfg: &GotifyConfig) -> Result<Client>
Expand description

Builds the pooled HTTP client used for every request against one server.

ยงErrors

Returns GotifyError::ClientBuild if reqwest fails to construct the client.