Stream name (key of App.Events)
Create a new client-side SSE connection.
Stream name (key of App.Events)
SSE endpoint URL
Client configuration options
Native readyState of the underlying EventSource.
Resolved URL of the EventSource connection.
Whether credentials are sent with the EventSource request.
Add a typed event listener.
Optionaloptions: boolean | AddEventListenerOptionsClose the connection (client-initiated).
Emits a close event with { initiator: "client" }.
Dispatch a typed event.
Dispatch a raw event.
Register a close listener.
Register an error listener.
Register a message listener.
Register an open listener.
Remove a typed event listener.
Optionaloptions: boolean | EventListenerOptions
Client-side typed wrapper around the browser's native
EventSource.This class:
App.Eventson,once,off)Example