Full-duplex realtime
- Client ↔ Server
- Both time communicate anytime
- One persistent connection
- Not request-response anymore
Workflow:
- HTTP handshake
- Upgrade to WebSocket
- Persistent connection
- Messages flow both ways
Perfect for:
- Chat apps
- Multiplayer games
- Collaborative editors
- Live trading apps
- Realtime cursor / typing indicators