Update mod.rs fix tokio-tungstenite with ver 0.23

This commit is contained in:
The DT 2024-06-09 14:20:37 +07:00 committed by GitHub
parent 8f9bec21d7
commit b0d7fa62cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();