Skip to content
New issue

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

Why not websocket client supports proxy setting? #17

Open
SudoHuang opened this issue May 18, 2023 · 4 comments
Open

Why not websocket client supports proxy setting? #17

SudoHuang opened this issue May 18, 2023 · 4 comments

Comments

@SudoHuang
Copy link

Hi, team! Why not websocket client supports proxy settings?

@2pd
Copy link
Contributor

2pd commented Jun 8, 2023

Hi, we are exploring this feature.

thank you for waiting.

@v200123
Copy link

v200123 commented Jul 26, 2023

how about you exploring this now

@aisling-2
Copy link
Collaborator

This is due to limitations in the underlying library 'OkHttp.' Based on a past research, when using WebSocket, there's an incompatibility between how the library's connection is sent (over the SSL layer) and what most proxies accept (over the HTTP layer). We might look for an alternative library in the future; however, including a proxy in WebSockets is not in the short-term plan now.

@Sailboats
Copy link

这个的websocket虽然没有设置代理的方法,但是是可以设置代理的,需要一点点其它技巧,我本地亲测可行的,加我微信Silenceeeeeeeeeeee进api技术交流群,人多力量大

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants