addEvents method

void addEvents(
  1. String event,
  2. MessageSocket socket
)

subscribe to named events

Implementation

void addEvents(String event, MessageSocket socket) {
  _onEvents![event] = socket;
}