flutter_client_sse 2.0.0-beta.1 copy "flutter_client_sse: ^2.0.0-beta.1" to clipboard
flutter_client_sse: ^2.0.0-beta.1 copied to clipboard

outdated

Dart package to help consume SSE API. It consumes server sent events by returning parsed model of the event, id, and the data

[0.0.2] - Migrated to null safety. #

  • The package is now null safe
  • Unused imports have been removed

[0.0.3] - Added example for consuming a event. #

  • Added a example dart file for consuming the event
  • Refactored the code to remove redundancy

[0.0.4] - Refactored example #

[0.0.5] - Improved the stability #

  • Fixed issue causing large responses to be split
  • Improved the way UTF8 Encoder was used

[0.0.6] - Fixed Stackoverflow exception #

  • Fixed issue causing stackoverflow while loading large chunk data stream

[0.1.0] - Improved documentation #

  • Added In-line documentation

[1.0.0] - Custom header and error handling #

  • Added ability to send custom headers
  • Added error handling

[2.0.0-beta.1] - Ability to choose between GET and POST request and send a body with the request[BREAKING CHANGE] #

  • The request type can now be manually set
  • Ability to pass the request body with the request
  • Safe close of the sink added as well which was causing some minor crashes
94
likes
0
points
98.2k
downloads

Publisher

verified publisherhustlecreatives.dev

Weekly Downloads

Dart package to help consume SSE API. It consumes server sent events by returning parsed model of the event, id, and the data

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on flutter_client_sse