components
All repositories: gitoria
1.0 KB
\* One connected WebSocket peer. Created by NativeWebSocketServer when theupgrade completes and handed to the connect/message/pong/close events —never `new`ed by app code. *\Number id = 0 \\ the native connection idString cookie = null \\ the Cookie header of the upgrade request, as the browser sent it — the session's name, never readable by page scriptString host = null \\ the Host header of the upgrade request, port included — the address the browser dialled (null when it sent none)Hybrid headers = {} \\ every header of the upgrade request by its lowercase name — `headers['accept-language']` is what this browser asked for\* One text frame to this peer; false when the connection is gone. *\send(String text \\ the frame to send) {return __native("http1.ws_send", id, text)}\* Ping this peer — the answer arrives as the server's pong event. *\ping() {return __native("http1.ws_ping", id)}\* Close this connection; the server's close event still fires. *\close() {return __native("http1.ws_close", id)}
Branches
- mainmain branch
Latest commits
- 57408b6ecomponents#14: installable app (manifest, service worker, offline index), own iconmre
- 317bd09fdeploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- becbd59bcomponents#13: modal dialog (<dialog> based, focus wrap, backdrop/Esc/x close with reason, scroll lock, footer buttons)mre
- 367dd19adeploy.sh: never send .git or .gitignore to Byrodinmre
- 4b4dabe5State of 2026-09-27, before the move to gitoriamre