diff --git a/src/proto/mod.rs b/src/proto/mod.rs index 03bba14..5c1506e 100644 --- a/src/proto/mod.rs +++ b/src/proto/mod.rs @@ -8,7 +8,7 @@ use std::{ use native_tls::{TlsConnector, TlsStream}; use socks::Socks5Stream; -use tungstenite::WebSocket; +use tungstenite::{client::client_with_config, protocol::WebSocketConfig, WebSocket}; pub mod rac; pub mod wrac; @@ -177,13 +177,14 @@ pub fn connect(host: &str, proxy: Option) -> Result