extra credit Search 85,062 technologies ⌘K Download for Mac

WebSocket Protocol (RFC 6455)

Category
Web and networking protocols
Docs outline
8 sections

Official docs outline

rfc-editor.org
  1. Opening handshake

    HTTP Upgrade request with Sec-WebSocket-Key/Accept.

  2. Client handshake requirements

    Headers, subprotocols and origin the client must send.

  3. Base framing protocol

    Frame layout, opcodes, masking and payload length encoding.

  4. Fragmentation

    Splitting messages across continuation frames.

  5. Control frames

    Close, Ping and Pong frames.

  6. Closing the connection

    Closing handshake and status codes such as 1000 and 1006.

  7. Origin considerations

    Origin checking and cross-site WebSocket hijacking.

  8. 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.

All 36
↑↓ move ↵ open