tokio_tungstenite

Function connect_async

Source
pub async fn connect_async<R>(
    request: R,
) -> Result<(WebSocketStream<MaybeTlsStream<TcpStream>>, Response), Error>
Expand description

Connect to a given URL.