After the HTTP upgrade handshake, WebSocket is a long-lived bidirectional connection. Frames have a small (2-14 byte) header: opcode, masking, length, payload.
Used for chat, live updates, multiplayer games. Browsers automatically mask client→server frames (security against proxy injection). Servers don't mask.