Closed MaximeLignereux closed 8 years ago
Hi!
I would like use your library but I don't know how to send a message and a event.
Here is an example of a method in my server:
io.sockets.on('connection', function(socket){ socket.on('deleteEvent', function(timeline_id, event_id){ socket.emit("delete"); }); });
Can you help me please ??
Thank you
In the WebSocket protocol (RFC 6455) , there is no concept called 'event'. I'm afraid that what you are talking about is specific to Socket.IO.
Hi!
I would like use your library but I don't know how to send a message and a event.
Here is an example of a method in my server:
io.sockets.on('connection', function(socket){ socket.on('deleteEvent', function(timeline_id, event_id){ socket.emit("delete"); }); });
Can you help me please ??
Thank you