sse_request 0.1.2
sse_request: ^0.1.2 copied to clipboard
A dart package for consuming SSE (Server Sent Events) using configurable and extensible connection lifecycle and event handling controller
0.1.2 #
- Docs: Documentation improvement
0.1.1 #
- Breaking change:
SseSourceControllerBasenow have generic type - New: added
SseParsedSourceController, which allows for configuration of reconnection logic and parsing of each event into a specified object type.
0.1.0 #
- New:
SseSourceController, which manages connection lifecycle and event handling, and providing precise control over events. This change also offers significantly better extensibility. - Improvement:
SseRequest'sgetStream()now usesSseSourceController - New: Default request headers for
SseRequest. - Docs: Improved documentation and examples.
0.0.3 #
- Rework:
SseRequestnow decodes SSE event stream first, then splits it to events - Fix: stream parser invalid exeptions
0.0.2 #
- Breaking changes:
SseRequestexposesStreaminstead ofSteamController. - Improvement:
SseRequestnow automatically handles listeners and closes events;
0.0.1 #
- Initial version