Skip to content

Interface: ConnectionState ​

Defined in: core/src/types.ts:136

The connection as getConnectionState() reports it.

Properties ​

PropertyTypeDescriptionDefined in
attemptnumberProbe attempt number (0 when none).core/src/types.ts:140
retryAtnumber | nullEpoch ms of the next probe, or null.core/src/types.ts:142
state"online" | "offline" | "unreachable"'online', 'offline' (the browser says so) or 'unreachable' (the server cannot be reached).core/src/types.ts:138

Released under the MIT License.