pub fn http_client_fn<F>(connector: F) -> SharedHttpClientwhere
F: Fn(&HttpConnectorSettings, &RuntimeComponents) -> SharedHttpConnector + Send + Sync + 'static,
Expand description
Returns a SharedHttpClient
that calls the given connector
function to select a HTTP connector.