database logo graphic

RFC 6455

"The WebSocket Protocol", December 2011

Canonical URL:
http://www.rfc-editor.org/rfc/rfc6455.txt
This document is also available in this non-normative format: PDF.
Status:
PROPOSED STANDARD
Authors:
I. Fette
A. Melnikov
Stream:
IETF
Source:
hybi (app)

Cite this RFC: TXT  |  XML

Other actions: Find Errata (if any)  |  Submit Errata  |  Find IPR Disclosures from the IETF


Abstract

The WebSocket Protocol enables two-way communication between a client running untrusted code in a controlled environment to a remote host that has opted-in to communications from that code. The security model used for this is the origin-based security model commonly used by web browsers. The protocol consists of an opening handshake followed by basic message framing, layered over TCP. The goal of this technology is to provide a mechanism for browser-based applications that need two-way communication with servers that does not rely on opening multiple HTTP connections (e.g., using XMLHttpRequest or <iframe>s and long polling). [STANDARDS-TRACK]


For the definition of Status, see RFC 2026.

For the definition of Stream, see RFC 4844.


Go to the RFC Editor Homepage.