news
Application-Level WebSocket Messages
When a TEXT frame arrives from a client: 1. Parse as JSON. If parsing fails, log to stderr and continue. 2. Log to stdout as `{ source: 'user-event', ...event }`. 3. If the event contains a `choice` property, append the JSON to `SCREEN_DIR/.events` (one line per event).
← 返回教程列表
AI8899 · 内容仅供学习参考