Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventData

Defines the structure of the realtime event data (message) delivered to the clients.

export
interface

EventData

Hierarchy

  • EventData

Index

Properties

Properties

channel: null | string

The name of the channel this message is sent to. If channel is null, this means that that message is broadcasted to all connected clients of your app.

message: any

Contents of the message. All serializable datastructures are supported for the message, including Buffer.

Generated using TypeDoc