sse_request 0.2.1
sse_request: ^0.2.1 copied to clipboard
A dart package for consuming SSE (Server Sent Events) using configurable and extensible connection lifecycle and event handling controller
0.2.1 #
- Added tags to pubspec.yaml
- Tests refactor
0.2.0 #
- New:
- Obtain handled stream and event stream straight from request shothand methods
- Isolated sse request handlers to be used within any
BaseRequest - Added equality checks to StreamSourceController and SseSourceControllerBase
- Fix: Type annotations
- Example: Updated using request shothand
- Test: Updated using request shothand
- Docs:
- Updated README
- Added documentation to shothand methods
- Updated code documentation
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