Skip to main content

build_http_client

Function build_http_client 

Source
pub fn build_http_client(provider: &str) -> MonochangeResult<Client>
Expand description

Build a blocking HTTP client for provider API calls.

Build a blocking HTTP client for provider API calls.

Installs the ring crypto provider for rustls if not already set, ensuring HTTPS works with the rustls-no-provider feature flag.