| Qore ServerSentEventHandler Module Reference 1.0.2

Loading...
Searching...
No Matches
ServerSentEventHandler Module

# Introduction to the ServerSentEventHandler Module

The ServerSentEventHandler module provides a handler to be used with the HttpServer module to provide Server-Sent Event connections.

To use this module, use `"%requires ServerSentEventHandler"` and `"%requires HttpServer"` in your code.

All the public symbols in the module are defined in the ServerSentEventHandler namespace.

The main classes provided in this module are:

- ServerSentEventHandler::ServerSentEventConnection
- ServerSentEventHandler::ServerSentEventHandler

# ServerSentEventHandler Release History

## Version 1.0.2

- added supoprt for customizable heartbeat messages to support JSON-RPC requests as heartbeat message in MCP server handlers (issue 4958)

## Version 1.0.1

- More flexible SSE handler support

## Version 1.0

- the initial version of the ServerSentEventHandler module