Function async_tungstenite::tokio::connect_async_with_tls_connector_and_config[][src]

pub async fn connect_async_with_tls_connector_and_config<R>(
    request: R,
    connector: Option<AsyncTlsConnector>,
    config: Option<WebSocketConfig>
) -> Result<(WebSocketStream<ConnectStream>, Response), Error> where
    R: IntoClientRequest + Unpin
Expand description

Connect to a given URL using the provided TLS connector.