Skip to content

Channel API

Igal edited this page Apr 8, 2017 · 3 revisions

A Channel maintains a Set of WebSocket connections.

getId():String

@returns the id or name of the channel.

getSubscriberCount():int

@returns the number of subscribers to the channel

getSubscribers():Set

@returns a new Set of WebSocket

Clone this wiki locally