Imgkl / EventFlux

A Dart package for efficient handling of server-sent event streams with easy connectivity and data management.
https://pub.dev/packages/eventflux
MIT License
25 stars 8 forks source link

fix: only call onSuccessCallback on 200 status code #16

Closed jangruenwaldt closed 5 months ago

jangruenwaldt commented 6 months ago

Why?

If the endpoint returns 404, currently still onSuccessCallback is called. This is unexpected behaviour for the developer.