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