sse_request 0.1.1
sse_request: ^0.1.1 copied to clipboard
A dart package for consuming SSE (Server Send Events)
0.1.1 #
- Breaking change: SseSourceControllerBase now 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: Now uses
SseSourceController, which manages connection lifecycle and event handling, and providing precise control over events. This change also offers significantly better extensibility. - Added default request headers for
SseRequest. - Improved documentation and examples.
0.0.3 #
- Now decodes stream response then split it to events
- Fix stream parser invalid exeptions
- Fix sse_request_test
0.0.2 #
- Breaking changes
- SSE request exposes Stream instead of SteamController and automatically handle listeners and close events
0.0.1 #
- Initial version