Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...