SseEventFormatter class
Formats Server-Sent Events (SSE) payloads according to the SSE wire format.
public static class SseEventFormatter
Public Members
| name | description |
|---|---|
| static Format(…) | Formats a single SSE event payload. |
| static FormatComment(…) | Formats an SSE comment payload (useful for keep-alives). |
See Also
- namespace Kestrun.Sse
- SseEventFormatter.cs