pub async fn connect(
request: impl IntoClientRequest + Unpin,
) -> Result<(WebSocketStream<MaybeTlsStream<TcpStream>>, Response), Error>Expand description
Connects the WebSocket for request, through the environment’s proxy when it names one for the request’s host.