openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Utility/ServerSentEventFieldKind.cs
14lines · modeblame
9f9f2936Jose Arriaga Maldonado2 years ago | 1 | namespace OpenAI; |
| 2 | | |
| 3 | /// <summary> | |
| 4 | /// The kind of line or field received over an SSE stream. | |
| 5 | /// See SSE specification: https://html.spec.whatwg.org/multipage/server-sent-events.html | |
| 6 | /// </summary> | |
| 7 | internal enum ServerSentEventFieldKind | |
| 8 | { | |
| 9 | Ignore, | |
| 10 | Event, | |
| 11 | Data, | |
| 12 | Id, | |
| 13 | Retry, | |
| 14 | } |