Skip to main content

http_client

Function http_client 

Source
pub fn http_client() -> Client
Expand description

Build a reqwest::Client with the project-wide default timeouts.

Panics only if reqwest itself fails to construct the underlying TLS stack — a programmer error (missing feature flag), not a runtime condition. Every call site in pakx already treats client construction as infallible, so panicking matches the prior Client::new() semantics exactly.