Function tokio_tungstenite::connect_async_tls_with_config
source · pub async fn connect_async_tls_with_config<R>(
request: R,
config: Option<WebSocketConfig>,
connector: Option<Connector>
) -> Result<(WebSocketStream<MaybeTlsStream<TcpStream>>, Response), Error>where
R: IntoClientRequest + Unpin,
Expand description
The same as connect_async()
but the one can specify a websocket configuration,
and a TLS connector to use.
Please refer to connect_async()
for more details.