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

Client access websocket without proxy #59

Open
fgadaleta opened this issue Jun 29, 2022 · 0 comments
Open

Client access websocket without proxy #59

fgadaleta opened this issue Jun 29, 2022 · 0 comments

Comments

@fgadaleta
Copy link

I am using hyperlocal and hyper-tungstenite to have a websocket over UDS. For a client to access such websocket I currently proxy the websocket to localhost with something like socat TCP-LISTEN:12345 UNIX-CONNECT:/tmp/hyperlocal.sock
Then I regularly connect to ws:///localhost:12345

However, I would like to avoid proxying the websocket and access it directly via /tmp/hyperlocal.sock.
I still need a websocket not a http GET/POST request.

Any hint?

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

1 participant