SSE vs WebSockets for AI apps: ten web standards and two patterns
This story is from 2026-10-22. It is preserved in the archive; the latest stories are on the live feed.
Out of the box, the official OpenAI and Anthropic Python SDKs talk HTTP/1.1, a protocol from 1997 ( RFC 2068 ). Both build on HTTPX2, which leaves HTTP/2 off unless you turn it on ( OpenAI SDK , Anthropic SDK , HTTPX2 ). Streaming answers? When they stream over HTTP, both APIs use Server-Sent Event…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-22 13:21 · DEV Community — AI
SSE vs WebSockets for AI apps: ten web standards and two patterns