Function tokio_tungstenite::connect_async[][src]

pub async fn connect_async<R>(
    request: R
) -> Result<(WebSocketStream<MaybeTlsStream<TcpStream>>, Response), Error> where
    R: IntoClientRequest + Unpin

Connect to a given URL.