Struct tls_api_openssl::TlsConnectorBuilder [−][src]
pub struct TlsConnectorBuilder {
pub builder: SslConnectorBuilder,
pub verify_hostname: bool,
}
Fields
builder: SslConnectorBuilder
verify_hostname: bool
Implementations
Trait Implementations
type Connector = TlsConnector
type Connector = TlsConnector
Result of connector to be build.
type Underlying = SslConnectorBuilder
type Underlying = SslConnectorBuilder
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.