karyon_net::tls

Function dial

Source
pub async fn dial<C>(
    endpoint: &Endpoint,
    config: ClientTlsConfig,
    codec: C,
) -> Result<TlsConn<C>>
where C: Codec + Clone,
Expand description

Connects to the given TLS address and port.