In the examples above we used the onmessage event to get messages. But other events are also available:
Read Articlehttps://develop.horje.com/learn/1434/reference