public HandlerCallback stream_events (owned EventStreamCallback context)
Middleware that create a context for sending Server-Sent Events.
The stream is explicitly flushed the ensure that the user agent receives the message.
Messages are send directly with the Soup.Encoding.EOF encoding as recommended by the W3C.
The middleware automatically send a keep-alive every 15 seconds to ensure that unaware clients keep the connection opened.
context for sending events