Overview

Defines the WebSocket protocol, providing full-duplex bidirectional communication over a single TCP connection. The connection starts as an HTTP upgrade handshake and then switches to a lightweight framed protocol. Supports both text and binary message frames with minimal overhead (2-14 byte header).

Why it matters for RFID

Powers real-time RFID dashboards, live tag read streams, and reader management consoles in the browser. MCP (Model Context Protocol) servers also use WebSocket/SSE for communication.

Official document

https://datatracker.ietf.org/doc/html/rfc6455