查询参数添加 ?token=
成功鉴权连接后,将立刻投递日志消息,每个 JSON 为一条日志
{"success":true,"action":"BUSINESS","data":"here we go: 1754401826471"}
action 可能有多种类型,以下是列表:
{"level": "INFO", "message": "message here"}
当需要关闭前台打开的日志窗口、或者任务结束时,将会 通过 NORMAL_CLOSURE 状态关闭 WebSocket 连接。