pub fn new_with_resolver(resolver: R) -> HttpConnector<R> {
        HttpConnector {
            enforce_http: true,
            handle: None,
            happy_eyeballs_timeout: Some(Duration::from_millis(300)),
            keep_alive_timeout: None,
            local_address: None,
            nodelay: false,
            resolver,
            reuse_address: false,
            send_buffer_size: None,
            recv_buffer_size: None,
        }
    }
/// Construct a new HttpConnector.
///
/// Takes a `Resolve` to handle DNS lookups.
Construct a new HttpConnector.
Takes a `Resolve` to handle DNS lookups.
Construct a new HttpConnector . Takes a ` Resolve ` to handle DNS lookups .
pub fn new_with_resolver(resolver: R) -> HttpConnector<R> {
        HttpConnector {
            enforce_http: true,
            handle: None,
            happy_eyeballs_timeout: Some(Duration::from_millis(300)),
            keep_alive_timeout: None,
            local_address: None,
            nodelay: false,
            resolver,
            reuse_address: false,
            send_buffer_size: None,
            recv_buffer_size: None,
        }
    }
pub fn new_with_resolver ( resolver : R ) -> HttpConnector < R > { HttpConnector { enforce_http : true , handle : None , happy_eyeballs_timeout : Some ( Duration :: from_millis ( 300 ) ) , keep_alive_timeout : None , local_address : None , nodelay : false , resolver , reuse_address : false , send_buffer_size : None , recv_buffer_size : None , } }
Construct a new HttpConnector.
Construct a new HttpConnector .
resolver
R
resolver
R