antcolony
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
- 3a4d0324antcolony#37: a too-long report gets up to 3 fix tries, finished work is never thrown away for lengthmre
- a6af7883tracker: worker box sees calendar.worldapi.org (login to copy)mre
- c613d26btemplates: bridges to external components (login.js for ident's selector) are allowed (creator 2026-09-27)mre
- 9062978ctracker: worker box sees /media/STORAGE/projects/old-tracker read-only (tracker#2 source data)mre
- 7f9660eeState of 2026-09-27, before the move to gitoriamre