stream library

Classes

EventSource
A SSE stream that transforms a HTTP stream response to SeverSentEvents.
EventStreamDecoder
A stream transformer that converts a string stream into a stream of ServerSentEvents
ServerSentEvent
A dataclass representing a Server Sent Event.

Extensions

EventSourceClientX on Client
An extension on the http packages Client that allows you to easily send SSE-requests.

Exceptions / Errors

ClientStreamException
An exception that is thrown if EventSourceClientX.stream fails.