Skip to content

ConnectionManager API

Igal edited this page Apr 8, 2017 · 7 revisions

The ConnectionManager object keeps track of all of the open connections and channels for a specific WebSocket server endpoint.

broadcast(string channel, string message)

getChannel(string channel)

getChannels()

log(string message)

subscribe(string channel, WebSocket connection)

unsubscribe(string channel, WebSocket connection)

unsubscribeAll(WebSocket connection)

Clone this wiki locally