notify

Asks the protocol to send data to a specific connection, on some of its channels.


Arguments

notify(channels, connectionId, payload)

  • channels |
    string[]
    | list of channels
  • connectionId |
    string
    | connection unique identifier, previously registered by the protocol using newConnection
  • payload |
    object
    | data payload

Return

The notify function is not expected to return a value.