[−][src]Function tokio_openssl::connect
pub async fn connect<'_, S>(
config: ConnectConfiguration,
domain: &'_ str,
stream: S
) -> Result<SslStream<S>, HandshakeError<S>> where
S: AsyncRead + AsyncWrite + Unpin,
Asynchronously performs a client-side TLS handshake over the provided stream.