on abstract method
Listens on the client which dispatches events about the socket state.
Implementation
void Function() on(TransportWsEventHandler listener);
Listens on the client which dispatches events about the socket state.
void Function() on(TransportWsEventHandler listener);