Function tokio_tungstenite::connect_async [] [src]

pub fn connect_async<R>(
    request: R,
    handle: Remote
) -> BoxFuture<(WebSocketStream<StreamSwitcher<TcpStream, TlsStream<TcpStream>>>, Response), Error> where
    R: Into<Request<'static>>, 

Connect to a given URL.