gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit03bbfba303bbfba3Log: AP56c causemre03bbfba3/plugins/http1/ws_client.hl

1.4 KB

  1. \* One connected WebSocket peer. Created by NativeWebSocketServer when the
  2. upgrade completes and handed to the connect/message/pong/close events —
  3. never `new`ed by app code. *\
  4. Number id = 0 \\ the native connection id
  5. String cookie = null \\ the Cookie header of the upgrade request, as the browser sent it — the session's name, never readable by page script
  6. String host = null \\ the Host header of the upgrade request, port included — the address the browser dialled (null when it sent none)
  7. Hybrid headers = {} \\ every header of the upgrade request by its lowercase name — `headers['accept-language']` is what this browser asked for
  8. String ip = null \\ the peer's address of the upgrade ("a.b.c.d", the form a request's `remoteAddress` has) — the socket itself, no proxy header; null when the kernel could not say
  9. Boolean secure = false \\ true when this server terminated TLS for the upgrade (today always false: a TLS connection is not upgraded, so a TLS-terminating front reports itself via X-Forwarded-Proto)
  10. \* One text frame to this peer; false when the connection is gone. *\
  11. send(
  12. String text \\ the frame to send
  13. ) {
  14. return __native("http1.ws_send", id, text)
  15. }
  16. \* Ping this peer — the answer arrives as the server's pong event. *\
  17. ping() {
  18. return __native("http1.ws_ping", id)
  19. }
  20. \* Close this connection; the server's close event still fires. *\
  21. close() {
  22. return __native("http1.ws_close", id)
  23. }

Branches

Latest commits

  • 03bbfba3Log: AP56c causemre
  • 24845fe3Log: AP56b result, AP56cmre
  • 6a6d71eaLog: gitoria membershipmre
  • 8b842dc8Log + CONDUCTOR: gitoria PR switch-onmre
  • 6bb7c20estatus: window 2026-11-09mre
  • 5db84974Log: Apollo window GO, AP56b started, BS1 copy removedmre
  • e84586a7Mission AP56bmre
  • 15917f03Record PR workflow rule (gitoria#50)mre
  • 942ac995status: paused workers statemre
  • 44b934e5log: respawn cleanupmre
  • 03a80097Log: Anton GC A/Bmre
  • c7cdef62Log: Apollo STOP, workers pausedmre
  • d0c083fbLog: usage stopmre
  • c6d464e5Log: Apollo GO backlog, AP56 and BS1 startedmre
  • 1eb6f1a1Missions AP56, BS1mre
  • 4871f8adLog: AP52 live on day52, browser gate greenmre
  • d9bf2988Merge ap52: day52, tracker#58 server argument, #51 modal close rule, #56 keyed season rowsmre
  • c4a60ef2Log: RT52 retest passed, AP52 startedmre
  • 83760a55Browser gate: search results belong to the address form of the typed text (tracker#52 navigate replace)mre
  • 6e951d91AP52: show-page rows are keyed records; closing a season is one upsert and removes (tracker#56, hybriel#331)mre