HelpText("Note: SSE is unidirectional (the server can only send data to the client). For the client to send data to the server, normal xhr behavior should be used (form submission, triggers, etc)."),
Text(`<b>Usage:</b>`),
Text("Add the SSE connection attribute and the path to the handler that will handle the connection."),
ui.GoCodeSnippet(SseConnectAttribute),
Text("The following <b>Event Handlers</b> can be used to react to SSE connections."),
ui.GoCodeSnippet(SseEventHandlers),
Text("Example: Adding an event listener handle SSE errors."),
ui.GoCodeSnippet(SseErrorHandlingExample),
Text("Example: Clearing the input field after sending a message."),
ui.GoCodeSnippet(SseClearInputExample),
NextStep(
"mt-4",
PrevBlock("Caching Per Key",DocPath("/performance/caching-per-key")),