addEvents method
subscribe to named events
Implementation
void addEvents(String event, MessageSocket socket) {
_onEvents![event] = socket;
}
subscribe to named events
void addEvents(String event, MessageSocket socket) {
_onEvents![event] = socket;
}