Skip to main content

build_default_fetch_client_arc

Function build_default_fetch_client_arc 

Source
pub fn build_default_fetch_client_arc() -> Result<Arc<dyn HttpClient>, HttpStackError>
Expand description

Minimal version – allows the CLI to set up a fetch client even when a full HttpStackConfig is not available.

Equivalent to build_fetch_client(&HttpStackConfig::default()).

§Errors

Same as build_fetch_client.