connectivity-ktor

A Ktor client plugin that feeds HTTP request outcomes into a ConnectivityMonitor to detect connectivity changes faster.

install(ConnectivityHints) { monitor = connectivityMonitor }: any response marks the device online, a connection failure triggers an immediate re-check (never an instant "offline"), and cancelled requests are ignored.

Packages

Link copied to clipboard
common

The ConnectivityHints plugin and its configuration.