ws
ws copied to clipboard
How to user-defined events?I want send some custom events form client to server,Thanks
ws doesn't provide such functionality, if you want custom events and other higher level abstractions consider using https://github.com/primus/primus with the websockets transformer combined with the https://github.com/cayasso/primus-emitter plugin. Or implement something like this your self.