client_async_with_config

Function client_async_with_config 

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

Similar to client_async() but user can specify a Config.