pub fn default_connector(
    settings: &HttpConnectorSettings,
    sleep: Option<SharedAsyncSleep>
) -> Option<SharedHttpConnector>
Available on crate features client and connector-hyper-0-14-x only.
Expand description

Given HttpConnectorSettings and an SharedAsyncSleep, create a SharedHttpConnector from defaults depending on what cargo features are activated.