Module websocket

Source
Expand description

Bounded binary WebSocket transport for native/browser development sessions. First-party RFC 6455 handshake/framing; no extensions, text messages or TLS. The handshake SHA-1 is required by the protocol, never used for authentication. References: https://www.rfc-editor.org/rfc/rfc6455 and https://www.rfc-editor.org/rfc/rfc3174.

Structs§

Config
Gateway
Nonblocking first-party WebSocket → UDP bridge. Each browser gets a distinct UDP endpoint/session at the existing authority. Call poll before/after its fixed tick. The bridge never computes movement, accepts hits or invents ACKs.
Stats