subscribe method

  1. @override
void subscribe()
override

Sends the subscription event through the connectionDelegate.

Implementation

@override
void subscribe() {
  super.subscribe();
  connectionDelegate.sendEvent(
    ChannelSubscribeEvent.forPublicChannel(
      channelName: name,
    ),
  );
}