pub async fn connect(
addr: &str,
config: TlsClientConfig,
) -> Result<Framed<TlsStream<TcpStream>, PacketCodec>>Expand description
Connect to a TLS server
pub async fn connect(
addr: &str,
config: TlsClientConfig,
) -> Result<Framed<TlsStream<TcpStream>, PacketCodec>>Connect to a TLS server