notifyOnline method
void
notifyOnline()
Externally notify that network is confirmed working (e.g. from successful HTTP responses).
Implementation
void notifyOnline() {
_consecutiveFailures = 0;
if (!_lastStatus) {
_lastStatus = true;
_controller.add(true);
}
}