Server Health Monitoring (Host Reachability)
Last updated
Monitor the configured host reachability and switch to a fallback when it becomes unreachable.
Set the host address in Essential Kit settings (Network Services section).
NetworkServicesStartNotifier
NetworkServicesOnHostReachabilityChanged (persistent listener)
NetworkServicesGetStatus (optional)
isHostReachable (Bool)
On app launch: call NetworkServicesStartNotifier.
Keep NetworkServicesOnHostReachabilityChanged in an active state:
eventReachable → use primary host
eventUnreachable → show maintenance / switch to backup
Optional: call NetworkServicesGetStatus whenever you need the latest booleans (isHostReachable, isInternetActive).
Last updated