Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
429 B
Markdown
21 lines
429 B
Markdown
---
|
|
title: web ws broadcast live server
|
|
import web:ext/web/web.mq.md
|
|
import plugin:lib/plugin.mq.md
|
|
import sys:lib/sys.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
**p = > plugin.native_path name="web"**
|
|
1. `p`
|
|
> plugin.load path=`p`
|
|
2. *
|
|
> sys.exit code=1
|
|
|
|
**pg = > web.page title="ws-live"**
|
|
**app = > web.app page=`pg` port=18112**
|
|
**app = > `app`.configure access_log=True**
|
|
**app = > `app`.route_ws path="/room" mode="broadcast"**
|
|
> `app`.listen
|