[−][src]Function async_tungstenite::tokio::connect_async_with_config
pub async fn connect_async_with_config<R>(
request: R,
config: Option<WebSocketConfig>
) -> Result<(WebSocketStream<StreamSwitcher<TokioAdapter<TcpStream>, TokioAdapter<TlsStream<TokioAdapter<TokioAdapter<TcpStream>>>>>>, Response), Error> where
R: IntoClientRequest + Unpin,
Connect to a given URL with a given WebSocket configuration.