eventflux 1.0.1
eventflux: ^1.0.1 copied to clipboard
Efficient handling of server-sent event streams with easy connectivity and data management.
Changelog 📝 #
1.0.0+2 #
- If the connection is intentionaly severed/disconnected by calling
disconnet()method, then theautoReconnectwill not try to reconnect the connection again and again. - I know, it's dumb mistake I made. Sorry. 🥹
1.0.0 🚀 #
Breaking
- Updated the
connectmethod to be a void function instead of returningEventFluxResponse. This change accompanies the introduction of theonSuccessCallbackparameter, which provides theEventFluxResponsevia callback. This modification simplifies the connection process, making reconnections and stream updates more predictable and manageable.
0.6.2 🚀 #
Added
- Added support for
autoReconnecton connect method.
0.6.1 🚀 #
Added
- Core functionality for connecting to server-sent event streams.
EventFluxclass to manage event stream connections.EventFluxDataclass for representing event data.EventFluxExceptionclass for handling exceptions.- Support for both GET and POST connection types.
- Error and Disconnect handling and reconnection logic.