Connection
host ws url command ws_current_state last_message (ms) connection_attempts ws
"CLOSING" - 0
ws
{
 "options": {
  "shouldReconnect": true,
  "reconnectRetryTimeout": 2000,
  "parsedMessage": false,
  "debug": false,
  "reconnectRetryMaxNumber": null
 },
 "shouldClose": false,
 "shouldRestart": false,
 "retryNumber": 0,
 "url": "ws://localhost:8080/wifi/ws",
 "protocols": [],
 "webSocket": {}
}
Scan
command SSID signal (RSSI) channel enc_type BSSID last seen (ms) raw (json)
Events
ID ...
2 07:53:53.158:
{"type":"closed","event":{"isTrusted":true},"event_details":{"reason":"","code":1006,"type":"close"}}
1 07:53:53.158:
{"type":"error","event":{"isTrusted":true},"event_details":{"type":"error"}}
0 07:53:53.030:
"connect to ws://localhost:8080/wifi/ws"

undefined | Learn Svelte | Code