Struct tls_api_rustls::TlsConnectorBuilder [−][src]
pub struct TlsConnectorBuilder {
pub config: ClientConfig,
pub verify_hostname: bool,
pub root_store: RootCertStore,
}
Fields
config: ClientConfig
verify_hostname: bool
root_store: RootCertStore
Trait Implementations
type Connector = TlsConnector
type Connector = TlsConnector
Result of connector to be build.
type Underlying = ClientConfig
type Underlying = ClientConfig
Type of the underlying builder. Read more
Get the underlying builder. Read more
Set ALPN-protocols to negotiate. Read more
Should hostname verification be performed? Use carefully, it opens the door to MITM attacks. Read more
Add trusted root certificate. By default connector supports only global trusted root. Read more
Finish the acceptor construction.