[−][src]Function async_tungstenite::connect_async
pub async fn connect_async<R>(
request: R
) -> Result<(WebSocketStream<MaybeTlsStream<TcpStream>>, Response), Error> where
R: Into<Request<'static>> + Unpin,
Connect to a given URL.
pub async fn connect_async<R>(
request: R
) -> Result<(WebSocketStream<MaybeTlsStream<TcpStream>>, Response), Error> where
R: Into<Request<'static>> + Unpin,
Connect to a given URL.