ws icon indicating copy to clipboard operation
ws copied to clipboard

How to user-defined events?I want send some custom events form client to server,Thanks

Open xy-showen opened this issue 13 years ago • 1 comments

xy-showen avatar Sep 29 '13 04:09 xy-showen

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.

3rd-Eden avatar Sep 29 '13 07:09 3rd-Eden