Function connect

Source
pub async fn connect(
    addr: &str,
    config: TlsClientConfig,
) -> Result<Framed<TlsStream<TcpStream>, PacketCodec>>
Expand description

Connect to a TLS server