The events documentet in this section is on (web)socket elevel. The events are the same as the events on the browsers websocket API, but also includes an additional event for failed authentication.