Skip to content

Sse

Everything under Quiote\Http\Sse.

ClassDescription
SseEventA single Server-Sent Events wire-format message.
SseStreamA write-once PSR-7 stream backed by an iterable of SseEvent (or plain string) items, typically a generator produced by an SseStreamingAction::streamEvents() implementation.
InterfaceDescription
SseStreamingActionActions implementing this interface bypass the normal Action/View dispatch entirely — DispatchMiddleware detects it and streams the returned events directly as a text/event-stream response, with no caching, validation short-circuiting, or View involved.