pub async fn connect_async<R>(
request: R,
) -> Result<(WebSocketStream<ConnectStream>, Response), Error>where
R: IntoClientRequest + Unpin,
Expand description
Connect to a given URL.
pub async fn connect_async<R>(
request: R,
) -> Result<(WebSocketStream<ConnectStream>, Response), Error>where
R: IntoClientRequest + Unpin,
Connect to a given URL.