SubscriptionMessage defines a realtime subscription payload.
Example:
onRealtimeConnectRequest((e) => { e.client.send(new SubscriptionMessage({ name: "example", data: '{"greeting": "Hello world"}' }))}) Copy
onRealtimeConnectRequest((e) => { e.client.send(new SubscriptionMessage({ name: "example", data: '{"greeting": "Hello world"}' }))})
Optional
Generated using TypeDoc
SubscriptionMessage defines a realtime subscription payload.
Example: