WebSocket Protocol (RFC 6455)
- Category
- Web and networking protocols
- Docs outline
- 8 sections
Official docs outline
rfc-editor.org- Opening handshake
HTTP Upgrade request with Sec-WebSocket-Key/Accept.
- Client handshake requirements
Headers, subprotocols and origin the client must send.
- Base framing protocol
Frame layout, opcodes, masking and payload length encoding.
- Fragmentation
Splitting messages across continuation frames.
- Control frames
Close, Ping and Pong frames.
- Closing the connection
Closing handshake and status codes such as 1000 and 1006.
- Origin considerations
Origin checking and cross-site WebSocket hijacking.
- Masking and security
Why client-to-server frames are masked.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.