channel method

WebSocketTopic channel(
  1. String topic
)

Returns (or creates) a WebSocketTopic for topic.

All messages whose JSON envelope has "topic": "<topic>" are routed here.

Implementation

WebSocketTopic channel(String topic) => _channelManager.channel(topic);