RFC 6455 - The WebSocket Protocol
The WebSocket Protocol
RFC 6455
Status
Email expansions
History
Document
Type
RFC

- Proposed Standard
(December 2011)
Errata
Updated by
RFC 7936
RFC 8307
RFC 8441
Was
draft-ietf-hybi-thewebsocketprotocol
hybi WG
Authors
Alexey Melnikov
Ian Fette
2020-01-21
RFC stream
Internet Engineering Task Force (IETF)
Formats
txt
html
pdf
htmlized
w/errata
bibtex
Additional resources
Mailing list discussion
IESG
Responsible AD
Peter Saint-Andre
Send notices to
(None)
Email authors
Email WG
IPR
References
Referenced by
Search Lists
RFC 6455
Internet Engineering Task Force (IETF) I. Fette
Request for Comments: 6455 Google, Inc.
Category: Standards Track A. Melnikov
ISSN: 2070-1721 Isode Ltd.
December 2011

The WebSocket Protocol
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