internet_connection_monitor library
Framework-independent Internet reachability monitoring.
Classes
- HttpInternetProbe
- Tries independent HTTP endpoints until one returns its expected status.
- InternetCheckEndpoint
- A read-only endpoint and the exact HTTP status that proves reachability.
- InternetConnectionMonitor
- Confirms Internet status with serialized checks and periodic recovery.
Enums
- InternetStatus
- The last confirmed reachability result, rather than the network interface.
Typedefs
-
InternetProbe
= Future<
bool> Function() - A reachability check supplied by an application or test.