Commit 5162f08
fix(voice): use ResponseHeadersRead for SSE streaming
HttpClient defaults to buffering the entire response before returning
the stream. Using HttpCompletionOption.ResponseHeadersRead allows the
client to read SSE events as they arrive from the server, enabling
real-time streaming display in the app.
Also added server-side diagnostic logging for streaming events.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 4899f3b commit 5162f08
2 files changed
Lines changed: 11 additions & 5 deletions
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
| |||
0 commit comments