Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
The business logic module (.js file) should bind event handlers with the Web Socket Service, to handle incoming events from the server, as well as to use the sendEvent() function (also on the Web Socket Service) to send events to the server.
...