The type property is used to determine the shape of the data property of the update event.
enum MessageEventType
The data object will change based on the type of the message.
error short code
human readable error message
Optional
cidIf the request provided a cid
parameter, the response will include the cid
provided.
Optional
subscriptionsA list of all active subscriptions if the type
is subscriptions
When an error occurs during evaluation by the WebSocket Server, this error message will be provided to the message handler.