SseEventFormatter.FormatComment method

Formats an SSE comment payload (useful for keep-alives).

public static string FormatComment(string comment)
parameter description
comment Comment text.

Return Value

A formatted SSE comment payload string.

See Also