RFC 6455 · PROPOSED STANDARD · 2011

The WebSocket Protocol

Overview

RFC 6455, “The WebSocket Protocol”, is a Proposed Standard document published in December 2011 by I. Fette, A. Melnikov. It has since been updated by RFC 7936, RFC 8307, RFC 8441. The canonical text is published by the RFC Editor.

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]

Abstract as published in the RFC, via rfc-editor.org.

What “Proposed Standard” means

An entry-level standards-track specification: stable, peer-reviewed and a solid basis for implementation, though it may still evolve before becoming an Internet Standard.

Read this RFC

The canonical text of RFC 6455 is hosted at rfc-editor.org. Available in TXT,HTML.

Relationships to other RFCs
Other RFCs from 2011

Who Is Online

In total there are 56 users online: 0 registered, 50 guests and 6 bots.

Most users ever online was 1,226 on 13 Jun 2026, 3:56 am.

Bots: AhrefsBot Applebot Majestic Other Bot SemrushBot Sogou

Users active in the past 15 minutes. Total registered members: 354