[][src]Function async_tungstenite::connect_async_with_tls_connector

pub async fn connect_async_with_tls_connector<R>(
    request: R,
    connector: Option<TlsConnector>
) -> Result<(WebSocketStream<MaybeTlsStream<TcpStream>>, Response), Error> where
    R: Into<Request<'static>> + Unpin

Connect to a given URL using the provided TLS connector.