Design realtime APIs with WebSocket or Server-Sent Events covering connection lifecycle, auth, and message contracts.
## CONTEXT Realtime features (live updates, presence, streaming notifications) push data to clients instead of waiting for them to poll, but they introduce stateful connections, reconnection, and backpressure that request/response APIs avoid. Choosing between WebSocket, Server-Sent Events, or long-polling, and…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro