gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitbc2fde32bc2fde32Merge branch 'main' into t36-stylemrebc2fde32/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

  • bc2fde32Merge branch 'main' into t36-stylemre
  • b7ca093atests: wait for the new row and normalize editor marker spacesmre
  • 41da3525Tickets conductor: flake cause, T36 deploy stepmre
  • 64c477e6Tickets conductor: deploy waits for Arachnemre
  • 467d7286Tickets conductor: T36 done, deploy questionmre
  • fed5ca81ticket_list: remove repeated selected-state coloursmre
  • 8542fc8aTickets conductor: T36 proof reviewedmre
  • 35980936inbox: preserve desktop columns after list styles were scopedmre
  • 2a5b8b91Tickets conductor: T36 cap stop, resumed for proofmre
  • c077a5cbstyles: format Style with nested language rulesmre
  • ccdde2beticket: format Style with nested language rulesmre
  • d083535bticket_list: nest Style rules and bare media queriesmre
  • c24608ebmarkdown: format Style with nested language rulesmre
  • de964b3bsettings: format Style with nested language rulesmre
  • 03c1de05new_project: format Style with nested language rulesmre
  • bd76cfa6connect: format Style with nested language rulesmre
  • 01fad593inbox: format Style with nested language rulesmre
  • 79dc9392you: format Style with nested language rulesmre
  • 78073baamain: format Style with nested language rulesmre
  • 6a82097fTickets conductor: Arachne W228 on day35 flakemre