Function tokio_tungstenite::connect_async [] [src]

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

Connect to a given URL.