Skip to content

Server‐sent events implementation

Christopher David edited this page May 22, 2024 · 6 revisions

Users of OpenAgents.com receive streaming notifications from the server via server-sent events.

The streaming will be managed by one component included in a persistent layout:

<div hx-ext="sse" sse-connect="/stream">
    <div sse-swap="event1"></div>
    <div sse-swap="event2"></div>
</div>
Clone this wiki locally