Skip to main content

http_client

Function http_client 

Source
pub fn http_client() -> Client
Expand description

Returns a clone of the process-wide shared HTTP client.

Configured with:

  • timeout(10 s) — total request duration.
  • connect_timeout(5 s) — TCP + TLS handshake budget.