You must send PING requests as keep-alive policy, so you will not be disconnected from the server, you must send a message with ‘PING’ request at least once a minute
Authentication
To authenticate against our live service, you must have given a role ofREALTIME_CONNECT so you
can send custom messages to your clients from Components (subject to change in the future).
You also must connect against wss (WebSocket Secure), ws by design is not allowed.
We support presence of authorization and instance tokens in query parameter as well as in headers, similar to our API.
Due to the limitation of many clients you must pass it in query parameters as in given example, from security standpoint it doesn’t matter,
connection goes trough TLS only, and we don’t permit other way around, we also don’t store these tokens in our logging systems.
Sending a message
You can send messages directly from theSandbox API, it is limited to 4kB per message as of now.
Channels
Channels are bound to the instance that you are connected to, where you can configure your own channels and/or use defined channels. You can send messages to:ALLto broadcast a message to all logged clients.groupIdto broadcast a message to specific a group.userIdto broadcast a message to specific user only.- Configured channels by you with restrictions on user or group level (or any other advanced filters).

