weso-node
Simple and light weight websocket server for node:
for more details on the protocol, checkout weso
`npm install weso-node`
Usage example :
const weso =const server =// Send a beautiful message every seconds to all the clients// pass a function to handle what ever you want to do when the server send// a message on the route 'test'serverserveronserveron/*For secure connections add this to the given optionssecure: {key: '/path/to/you/ssl.key',cert: '/path/to/you/ssl.crt',}*/
Shitty stuff :
You need to handle clients connections / pool and all that on your own. I just give an ID, it's stored in the browser localStorage so that allow you to remember the user and stuff.
gl hf.