Document server-sent events support
Merged
KL
4mo ago+101+101+012345678901234567890123456789-0-0-0123456789
Documents the server-sent events feature added in #1046.
- New Server-Sent Events guide (
docs/sse.md), added to the nav under Guides. Coversclient.sse()for sync and async,POSTstreaming, theServerSentEventfields and.json(), accessing the underlying response, andSSEError. api.md:sseadded to theClient/AsyncClientmember lists, with newEventSourceandServerSentEventreference sections.exceptions.md:SSEErroradded to the hierarchy (underTransportError) and the class listing.
zensical build produces no new warnings.
AI Disclaimer
This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.