WebSocket Pitfalls
Common pitfalls and correct patterns for WebSocket implementations.
When to Use
- Implementing WebSocket server
- Building WebSocket client with reconnection
- Debugging connection drops
- Adding heartbeat/ping-pong
- Reviewing WebSocket code
Workflow
Step 1: Verify Server Setup
Check WebSocket server shares HTTP port.
Step 2: Check Heartbeat
Ensure ping/pong heartbeat is implemented.
Step 3: Verify Client Reconnection
Confirm exponential backoff
[Description truncada. Veja o README completo no GitHub.]