Skip to main content

make_client

Function make_client 

Source
pub fn make_client() -> Client
Expand description

Construct the standard blocking HTTP client used by every platform client. Sets a global request timeout so a hung API can’t freeze torii forever. Panics only on a build failure we don’t expect at runtime (would mean reqwest is fundamentally broken).