Function tokio_tungstenite::client_async_with_config[][src]

pub fn client_async_with_config<'a, R, S>(
    request: R,
    stream: S,
    config: Option<WebSocketConfig>
) -> ConnectAsync<S> where
    R: Into<Request<'a>>,
    S: AsyncRead + AsyncWrite

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