-
Notifications
You must be signed in to change notification settings - Fork 0
SocketIO
Roy Kakkenberg edited this page Nov 18, 2023
·
1 revision
To implement the publish-subscribe architecture between the core and its listeners, SocketIO is used as a reliable and secure communication channel.
Authentication is required to be able to connect to the SocketIO server. Just as the rest of the HTTP endpoints, an authentication cookie connect.sid
is required in the request body.
Each type of listener has its own namespace. Lights use the /lights
namespace, audios the /audio
namespace and screens use the /sceen
namespace. The backoffice can receive updates from SocketIO in the /backoffice
namespace.