Ran cargo fmt

This commit is contained in:
Pierre HUBERT 2024-01-17 18:52:47 +01:00
parent ddbdb66dee
commit f727ed284f

View File

@ -133,7 +133,8 @@ impl Client {
.with_no_client_auth();
let connector = tokio_tungstenite::Connector::Rustls(Arc::new(config));
tokio_tungstenite::connect_async_tls_with_config(ws_url, None, false,Some(connector)).await?
tokio_tungstenite::connect_async_tls_with_config(ws_url, None, false, Some(connector))
.await?
} else {
// Perform an unsecure connection
tokio_tungstenite::connect_async(ws_url).await?