We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need a proxy on websocket with tungstenite, and I don't know how to implement it with async-socks5, do you have any experience or example?
The text was updated successfully, but these errors were encountered:
tokio-tungstenite is also ok
Sorry, something went wrong.
do you have any experience
I have not, but I can guess it should look like this:
let stream = TcpStream::connect("my-proxy-server.com:54321").await?; async_socks5::connect(&mut stream, ("your-ws-server.com", 80), None).await?; let (ws_stream, _) = tokio_tungstenite::client_async("ws://your-ws-server.com:80", stream).await?;
do you have any experience I have not, but I can guess it should look like this: let stream = TcpStream::connect("my-proxy-server.com:54321").await?; async_socks5::connect(&mut stream, ("your-ws-server.com", 80), None).await?; let (ws_stream, _) = tokio_tungstenite::client_async("ws://your-ws-server.com:80", stream).await?;
I have try it, didn't work
No branches or pull requests
I need a proxy on websocket with tungstenite, and I don't know how to implement it with async-socks5, do you have any experience or example?
The text was updated successfully, but these errors were encountered: