eventflux 1.7.0 copy "eventflux: ^1.7.0" to clipboard
eventflux: ^1.7.0 copied to clipboard

Efficient handling of server-sent event streams with easy connectivity and data management.

Changelog 📝 #

1.7.0 🛠️ #

  • Solves #12
    • Disposing the instance of stream when disconnect method is called.
  • Solves #13
    • onSuccessCallback should not be called unless 200 is returned
    • Thanks to Jan Gruenwaldt for the PR

1.6.9 🛠️ #

  • Solves #11
    • onError method not getting triggered for non 200 status codes.

1.6.7 🛠️ #

  • Updated Http package version to 1.2.1

1.6.6 #

Breaking

  • Disabled web support due to dependancy issue.
    • Refer #5 for more info.

1.6.0 🚀 #

Added

  • Web support #5
    • Your existing code now flawlessly extends its magic to the web – no extra setup required, just pure, uninterrupted functionality across platforms!

1.5.1 📝 #

Updated

  • Readme's EventFlux for Every Scenario Section

1.5.0 🚀 #

Added

  • spwan method
    • Solves #3
    • Provides users the flexibility to implement multiple SSE connections.
    • See the "Supercharged" section in the README for usage instructions.

1.0.1 🛠️ #

  • Solves #2
    • Retry doesn't use provided headers.

1.0.0+2 🛠️ #

  • If the connection is intentionaly severed/disconnected by calling disconnet() method, then the autoReconnect will not try to reconnect the connection again and again.
    • I know, it's dumb mistake I made. Sorry. 🥹

1.0.0 🚀 #

Breaking

  • Updated the connect method to be a void function instead of returning EventFluxResponse. This change accompanies the introduction of the onSuccessCallback parameter, which provides the EventFluxResponse via callback. This modification simplifies the connection process, making reconnections and stream updates more predictable and manageable.

0.6.2 🚀 #

Added

  • support for autoReconnect on connect method.

0.6.1 🚀 #

Added

  • Core functionality for connecting to server-sent event streams.
  • EventFlux class to manage event stream connections.
  • EventFluxData class for representing event data.
  • EventFluxException class for handling exceptions.
  • Support for both GET and POST connection types.
  • Error and Disconnect handling and reconnection logic.

0.0.1 🍼 #

  • Hello world
89
likes
150
points
9.29k
downloads
screenshot

Publisher

verified publishergokula.dev

Weekly Downloads

Efficient handling of server-sent event streams with easy connectivity and data management.

Homepage
Repository (GitHub)
View/report issues

Topics

#sse #server-sent-events #streaming-events

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on eventflux