gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchhl-standard-55ea64202|||PR Gate: count the new-tab check's console errors tooAtlashl-standard-5/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

  • 5ea64202|||PR Gate: count the new-tab check's console errors tooAtlas
  • 2752ceddMerge branch 'hl-standard-4' into mainAtlas
  • ac552b81|||PR Gate: keyboard (Tab/Enter/Space) and Back/Forward/reload/new-tab checks (HL-STANDARD F5, F21)Atlas
  • 8cddcaa9Merge branch 'hl-standard-2' into mainAtlas
  • 2b480a64|||PR Type the route parameter of main-menu build (HL-STANDARD L10)Atlas
  • ab54a39dMerge branch 'hl-standard' into mainAtlas
  • 04d36fcf|||PR Type function parameters and drop unneeded let (HL-STANDARD L2, L10)Atlas
  • 220c8fa4Merge branch 'readme-audit' into mainAtlas
  • b78fb85a|||PR README matches the codemre
  • 9f351699Preserve comments and nest supported selectors without changing rendered outputmre
  • 97110ad9WIP: nest accepted layout selectors; stopped at startup parse failuremre
  • ce4a0baeKeep caller slot styles whole so minimal shell apps startmre
  • 12cd3992Re-vendor complete Hybriel plugins and runtime to day44mre
  • b05c20feBackup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
  • 8d9ed0b8Re-vendor complete Hybriel plugins and runtime to day39mre
  • ebd00b6cNest caller slot styles in three-panemre
  • 009991efNest caller slot styles in list-firstmre
  • 494d75d4Nest caller slot styles in app-sidebarmre
  • e5571680Align all plugin sources with Hybriel day38bmre
  • 5d204c46Re-vendor layouts to Hybriel set day38bmre