HTTPX2 speaks WebSockets and Server-Sent Events out of the box ๐
- client.websocket() and client.sse() on your existing client
- Headers, cookies, auth, proxies and timeouts apply as usual
- Sync and async
- For WebSockets: pip install "httpx2[ws]"