Builder

Properties

Link copied to clipboard

Consecutive failed probes before offline is reported. Default 1.

Link copied to clipboard

Default false.

Link copied to clipboard

HEAD (default) or GET.

Link copied to clipboard
Link copied to clipboard

Skip the fetch and report offline when navigator.onLine is false (it is reliable). Default true.

Link copied to clipboard

Stop probing while the tab is hidden; re-check when it becomes visible. Default true.

Link copied to clipboard

Default Schedule.Adaptive (60 s online, 5 s offline).

Link copied to clipboard

Abort the fetch after this. Default 3 s.

Link copied to clipboard
var url: String?

Required when enabled; a same-origin path such as /health is recommended.