Function tokio_tungstenite::connect_async [−][src]
pub fn connect_async<R>(
request: R
) -> Box<Future<Item = (WebSocketStream<MaybeTlsStream<TcpStream>>, Response), Error = Error> + Send> where
R: Into<Request<'static>>,
Connect to a given URL.