0x0LearnReferenceLibrariesMigration0x0.jmp0x1b.com

Web Runtime

The web runtime provides loopback-safe HTTP server behavior, routing, WebSocket

handshake/frame helpers, and LiveView-compatible state transitions.

HTTP server test mode binds only to 127.0.0.1 on an ephemeral port. Runtime

failures are reported with stable classes for bind, accept, parse, write, and

timeout paths.

The router owns method checks, route matching, body limits, JSON/text decoding,

response encoding, route-level error conversion, and API contract snapshots.

The WebSocket runtime owns upgrade validation, accept-key calculation, protocol

negotiation, text frames, close, ping, pong, malformed upgrade rejection, and a

deterministic frame probe.

The LiveView-compatible runtime owns route document generation, mount payloads,

event dispatch, diff generation, heartbeat, reconnect state, backpressure, and

browser client assets.