Skip to main content

default_client

Function default_client 

Source
pub fn default_client() -> Client
Expand description

Create a shared HTTP client with standard Zeph configuration.

Config: 30s connect timeout, 60s request timeout, rustls TLS, zeph/{version} user-agent, redirect limit 10.

ยงPanics

Panics if the TLS backend cannot be initialized (should never happen with rustls).