WebSocket Protocol


🏠 HOME








WebSocket enables bidirectional, message-oriented streaming of text and binary data between client and server.

The WebSocket wire protocol (RFC 6455) developed by the HyBi Working Group consists of two high-level components: the opening HTTP handshake used to negotiate the parameters of the connection and a binary message framing mechanism to allow for low overhead, message-based delivery of both text and binary data.

Source: High Performance Browser Networking.

Browser APIs and Protocols: WebSocket - High Performance Browser Networking (O'Reilly)

<aside> <img src="/icons/playback-previous_lightgray.svg" alt="/icons/playback-previous_lightgray.svg" width="40px" />

TLS/HTTPS

</aside>

<aside> <img src="/icons/playback-next_lightgray.svg" alt="/icons/playback-next_lightgray.svg" width="40px" /> OS X Machine Setup

</aside>