[ Version ( since = "0.3" ) ]
public delegate void EventStreamCallback (Request request, owned SendEventCallback send_event, Context context) throws Error
Create a context for sending SSE messages.
It replaces the VSGI.Response by a Valum.ServerSentEvents.SendEventCallback.
request |
request this is responding to |
send_event |
send a SSE message |
context |
routing context |
GLib.Error |
thrown errors are suppressed with GLib.warning |