async_tungstenite::tokio

Function connect_async

source
pub async fn connect_async<R>(
    request: R,
) -> Result<(WebSocketStream<ConnectStream>, Response), Error>
Expand description

Connect to a given URL.