[][src]Function tokio_tungstenite::connect_async_with_config

pub async fn connect_async_with_config<R>(
    request: R,
    config: Option<WebSocketConfig>
) -> Result<(WebSocketStream<TcpStream>, Response), Error> where
    R: IntoClientRequest + Unpin

The same as connect_async() but the one can specify a websocket configuration. Please refer to connect_async() for more details.