hyperlocal icon indicating copy to clipboard operation
hyperlocal copied to clipboard

Client access websocket without proxy

Open fgadaleta opened this issue 3 years ago • 0 comments

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?

fgadaleta avatar Jun 29 '22 12:06 fgadaleta