Skip to main content

http_client_with_timeout

Function http_client_with_timeout 

Source
pub fn http_client_with_timeout(request_timeout: Duration) -> Client
Expand description

Build a reqwest::Client with a caller-supplied request timeout and the project-wide default connect timeout.

Use this for code paths that exceed the default 60s budget — primarily tarball uploads in pakx publish.