Skip to content

js-bao-wss-client


js-bao-wss-client / NetworkMode

Type Alias: NetworkMode ​

NetworkMode = "auto" | "online" | "offline"

The client's network connectivity setting. "auto" follows the detected browser connectivity, while "online" and "offline" force the corresponding behavior regardless of actual connectivity.

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30