Component evidence
Pure TypeScript implementation of Socket.IO wire grammar (engine.io v3/v4 + socket.io v4/v5) for WebSocket framing without runtime dependencies.
// Source: https://github.com/OpenHeaders/open-headers | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. /** * Socket.IO wire grammar — the hand-rolled engine.io v4 + socket.io v5 * TEXT framing the WebSocket client's `socketio` flavor rides over the * platform socket (the S6 checkpoint: framing lives ABOVE the * protocol-blind transport seam, no socket.io runtime dep ever). * * Pure functions over strings, zero platform deps: the oracle session * plane drives the handshake with the encoders, and display surfaces * decode captured frames with the parser (the capture law binds the * SNAPSHOT to verbatim wire text — decode is display-side, and this * module is the single gra ... (truncated -- full source via MCP)