Document Name: RFC 6455
Document URI: urn:ietf:rfc:6455
Online Version: https://datatracker.ietf.org/doc/html/rfc6455
Organization: Internet Engineering Task Force (IETF)
Series: Request for Comments (RFC)
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).



Specified Web Concepts:

HTTP Header Fields

Sec-WebSocket-Accept , Sec-WebSocket-Extensions , Sec-WebSocket-Key , Sec-WebSocket-Protocol , Sec-WebSocket-Version

URI Schemes

ws , wss


Return to ( Series | Organization | all Specifications )