Module: Weft::Router::Streaming
- Included in:
- Weft::Router
- Defined in:
- lib/weft/router/streaming.rb
Overview
SSE streaming slice of the Router. Handles /component_path/<stream_suffix>
requests (stream_suffix defaults to "_stream") for components declaring
pushes every:, opening a long-lived
connection that emits formatted event:/data: frames on the
declared cadence.
Depends on Router internals: build_component, render_oob_includes,
pass, content_type, headers, stream.