Function async_tungstenite::gio::connect_async_with_config
source ยท pub async fn connect_async_with_config<R>(
request: R,
config: Option<WebSocketConfig>,
) -> Result<(WebSocketStream<ConnectStream>, Response), Error>where
R: IntoClientRequest + Unpin,
Expand description
Connect to a given URL with a given WebSocket configuration.