From b0d7fa62cf2b0fdf62d19afd8383e424c9a7e41b Mon Sep 17 00:00:00 2001 From: The DT <80153297+thedtvn@users.noreply.github.com> Date: Sun, 9 Jun 2024 14:20:37 +0700 Subject: [PATCH] Update mod.rs fix tokio-tungstenite with ver 0.23 --- core/src/dealer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/dealer/mod.rs b/core/src/dealer/mod.rs index b4cfec8e..8969f317 100644 --- a/core/src/dealer/mod.rs +++ b/core/src/dealer/mod.rs @@ -409,7 +409,7 @@ async fn connect( let stream = socket::connect(host, port, proxy).await?; - let (mut ws_tx, ws_rx) = tokio_tungstenite::client_async_tls(address, stream) + let (mut ws_tx, ws_rx) = tokio_tungstenite::client_async_tls(address.as_str(), stream) .await? .0 .split();