[][src]Function tokio_tungstenite::connect_async

pub fn connect_async<R>(
    request: R
) -> Box<dyn Future<Item = (WebSocketStream<MaybeTlsStream<TcpStream>>, Response), Error = Error> + Send> where
    R: Into<Request<'static>>, 

Connect to a given URL.