pub fn with_resolver(config: Arc<ClientConfig>, resolver: AsyncResolver) -> Self {
        RustlsConnector {
            config,
            connector: Connector::new(resolver),
        }
    }
/// Construct new connect service with custom dns resolver
Construct new connect service with custom dns resolver
Construct new connect service with custom dns resolver
pub fn with_resolver(config: Arc<ClientConfig>, resolver: AsyncResolver) -> Self {
        RustlsConnector {
            config,
            connector: Connector::new(resolver),
        }
    }
pub fn with_resolver ( config : Arc < ClientConfig > , resolver : AsyncResolver ) -> Self { RustlsConnector { config , connector : Connector :: new ( resolver ) , } }
Construct new connect service with custom dns resolver
Construct new connect service with custom dns resolver
config
Arc<ClientConfig>
resolver
AsyncResolver