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

Proxy support for Socket Mode (WS) #181

Open
mehr74 opened this issue Apr 5, 2023 · 1 comment
Open

Proxy support for Socket Mode (WS) #181

mehr74 opened this issue Apr 5, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mehr74
Copy link

mehr74 commented Apr 5, 2023

I am trying to use the proxy connector example to use socket api connection. The wss socket does not use the proxy and does not proceed.
I believe the following line should be changed, and client_async_tls should be used instead when the client uses a proxy connector.

match connect_async(&url_to_connect).await {

@abdolence abdolence changed the title Proxy client with socket api. Proxy support for Socket Mode (WS) Apr 5, 2023
@abdolence
Copy link
Owner

Hey.

Existing proxy support was intended only for Slack client, not for Socket Mode/Web Sockets.

Reading this
snapview/tungstenite-rs#177 I'm not sure if this works for HTTP/HTTPS proxies.

Would be great if anyone who needs proxies could test it and prepare PR, since I don't have that kind of needs myself.

@abdolence abdolence added help wanted Extra attention is needed enhancement New feature or request labels Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants