WebSocket Protocol

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.