Skip to content

Commit

Permalink
Update mod.rs fix tokio-tungstenite with ver 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
thedtvn authored Jun 9, 2024
1 parent 8f9bec2 commit b0d7fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/dealer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b0d7fa6

Please sign in to comment.