pub fn client_config(pin: Option<TlsPin>) -> Result<ClientConfig, Error>
The TLS configuration for a server with pin, or without one.
pin
When the system’s trust store cannot be used.