register method

void register(
  1. SocketRouter router
)

Internal method to register the controller with the router.

Implementation

void register(SocketRouter router) {
  _channel = router.channel(namespace);

  init();
}