VOOZH about

URL: https://websocket.org/

⇱ WebSocket.org — The independent WebSocket reference


Independent WebSocket reference

WebSocket.org

The independent, practitioner-built reference for WebSocket technology. Protocol internals, production patterns, scaling guides, and honest protocol comparisons with real code.

Start Reading API Reference
ws-monitor — websocket.org
ws://websocket.org/demo
uptime 00:00:00 RFC 6455
Latency
12ms
Messages
0 sent
0 recv
Frames
TEXT 0
BINARY 0
PING/PONG 0
Message Feed LIVE

Resources

Explore WebSockets

Understand the Protocol

From HTTP upgrade to binary frames — the complete picture.

Build Something

Hands-on guides from first connection to production scale.

Compare Protocols

Not everything needs a WebSocket. Pick the right tool.

By Language

Production-ready patterns for your stack.

Use Cases

Real-world patterns for common WebSocket applications.

Explore the full guide library — implementation patterns, framework integrations, and more.

Browse all guides

Interactive Tools

Try It

WebSocket Echo Server

Test WebSocket connections in real time. Send messages and see them echoed back instantly — no signup, no setup.

Try it now

WebSocket vs SSE vs HTTP

Answer a few questions about your use case and get a protocol recommendation.

Find your protocol

How it works

Why WebSockets?

HTTP

One request, one response. Connection closes. Every interaction has overhead.

C
S
S
C
C
S
S
C

Server-Sent Events

Server streams to client only. Great for push — can't send back.

S
C
S
C
S
C
S
C

WebSocket

Full-duplex, persistent. Both sides send whenever they want.

C
S
S
C
C
S
S
C
C
S

Latest

What's New

New Guide

WebSockets and AI

Token streaming, tool-call interleaving, bidirectional agent communication. How modern AI systems use WebSockets — and when they don't.

Infrastructure

Deploy and Operate

Nginx
Proxy configuration, timeouts, upstream headers
AWS ALB
Load balancer settings for persistent connections
Cloudflare
Tunnels, Workers, and WebSocket proxying
Kubernetes
Ingress controllers, session affinity, scaling

FAQ

Common Questions

Start with the Road to WebSockets

A complete, no-fluff walkthrough from HTTP to persistent bidirectional connections. The fastest path from zero to production-ready.

Read the Guide