sse_channel 0.2.0
sse_channel: ^0.2.0 copied to clipboard
StreamChannel wrappers for Server Sent Events.
0.2.0 #
- Breaking:
SseChannel.streamnow emitsEventobjects exposingdata,event, andidmetadata rather than raw strings. - Improved IO client compliance with the WHATWG SSE spec: preserves
Last-Event-ID, honorsretry:hints, sendsCache-Control: no-cache, and retries automatically. - Surface connection and send failures as
SseChannelExceptionfor both IO and HTML implementations and re-export the type for package users. - Added
HtmlSseChannel.testto make browser-specific code testable without a real network connection. - Expanded test coverage with extensive unit tests for the event transformer, IO reconnect flow, and browser behaviour.
0.1.1 #
- Update packages.
0.0.3 #
- Fix README.
0.0.2 #
- Update README and example, updates.
0.0.1 #
- Initial version.