HenningM/express-ws

How to trigger app.ws("/" from client side?

Opened this issue · 2 comments

How to trigger app.ws("/" from client side?
Docks are incomplete in this manner

bruh

You make a WebSocket class on the client side, with a url like "ipOrWebsiteHostHere/". Then, use your client's websocket to send messages with ws.send and add an onmessage to handle when one is sent from the server to you.