Private
Optional
eventPrivate
eventThe URL of the event stream.
Private
parserPrivate
subscribedPrivate
runSubscribes to a specified event.
A Result indicating success (Ok(true)) or failure (Err with an error message).
The name of the event to subscribe to.
The function to handle the event when it occurs.
Generated using TypeDoc
Client for managing Server-Sent Events (SSE) connections.