deltachat::net

Function connect_tls_inner

source
pub(crate) async fn connect_tls_inner(
    addr: SocketAddr,
    host: &str,
    strict_tls: bool,
    alpn: &[&str],
) -> Result<impl SessionStream>
Expand description

Attempts to establish TLS connection given the result of the hostname to address resolution.