Module events

Module events 

Source
Expand description

Server-Sent Events (SSE) endpoint for real-time updates

Connects to the daemon via Unix socket (or TCP on Windows) to receive events and forwards them to web clients via SSE.

Structs§

EventsState
State for the SSE endpoint

Enums§

SseEvent
Events sent via SSE to the browser

Functions§

api_events
SSE endpoint handler - /api/events
start_daemon_event_forwarder
Connect to the daemon and forward events to SSE clients