You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support Server-Sent Events as a streaming content format (#2232)
- Add StreamingContentFormat.ServerSentEvents and map text/event-stream to it in DetectStreamingFormat
- Stream each SSE data event into IAsyncEnumerable<T> via SseParser, deserializing payloads through the existing source-generated/reflection JSON metadata path so it stays trim and Native AOT clean
- Reference System.Net.ServerSentEvents on targets that lack it in-box (net4x/netstandard2.0/net8.0/net9.0); net10.0+ use the framework reference
- Inherit both generated and reflection execution paths through the shared streaming seam (no generator change)
- Cover generated/reflection paths and source-gen/reflection serializers; document in README and breaking-changes
0 commit comments