Skip to content

Client access websocket without proxy #59

@fgadaleta

Description

@fgadaleta

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions