connect_async_with_config

Function connect_async_with_config 

Source
pub async fn connect_async_with_config<R>(
    request: R,
    config: impl Into<Config>,
) -> Result<(WebSocketStream<MaybeTlsStream<TcpStream>>, Response<Option<Vec<u8>>>), Error>
Available on crate feature ws only.
Expand description

Similar to connect_async(), but user can specify a Config.