onConnect method
- SocketInfo source
inherited
Sets destination to the incoming source.
Override this function to run custom code when the dashboard connects, but be sure to call
super.onConnect(source) as well.
Implementation
@override
void onConnect(SocketInfo source) {
super.onConnect(source);
_flushLogBuffer();
}