Skip to main content

get_client

Function get_client 

Source
pub fn get_client(config: &CommitConfig) -> &'static Client
Expand description

Get (or create) the shared HTTP client with timeouts from config.

The first call initializes the client with the given config’s timeouts; subsequent calls reuse the same client regardless of config values.