Skip to main content

blocking_builder

Function blocking_builder 

Source
pub fn blocking_builder() -> ClientBuilder
Expand description

builder’s two timeouts on a [reqwest::blocking::ClientBuilder], for a caller with no async runtime to drive the async client on.

Build the client outside any async context: reqwest’s blocking client panics when built inside one.