Static
broadcastDecorator for the methods to broadcast the response after the execution.
Static
notDecorator for methods to be not registered as socket methods. They cannot be called from socket.
Static
requireDecorator for the methods to check the logged user before the execution.
Broadcasts the event and data to the clients except the sender.
Event name.
Data to broadcast.
Broadcasts the event and data to the clients.
Event name.
Data to broadcast.
Indicates if the broadcast should include the sender.
Broadcasts the event and data to the clients passed the filter.
Converts the methods to the list of events.
The method is called automatically from the Server
.
Base class for grouping socket events. The event can be called from the client
[lowerCasedClassName].[method]
. All underscored methods and methods of the base class are ignored in the event list.Example