flutter_client_sse
flutter_client_sse copied to clipboard
Dart package to help consume SSE API. Consumes server sent events by returning parsed model of the event, id, and the data
Hello at the Browser like (chrome) its possible to close active opened event-source by just close the Browser, now I have a server allow only 1 concurrent SSE , so...
Hello there, I have been using this library and it worked fine but I have one problem with it: when the server closes the connection (Which I have checked is...
Thank you for addressing https://github.com/pratikbaid3/flutter_client_sse/issues/21 I have a use-case, where infinite retry might not be an ideal option. On server 401 response I want to refresh JWT token, so it...
It looks like the listener is only able to consume data formatted as `text/event-stream`, since that's the case, is there a good reason not to automatically set the `Accept` header...
First off, thank you for your package. Long story short: I found your package useful, but the current implementation doesn't suit my need, and I was in urgent need of...
The error you are encountering occurs because you are attempting to add events to a StreamController that has already been closed. This issue is happening because unsubscribeFromSSE() closes the _streamController,...
POC PR for Addressing https://github.com/pratikbaid3/flutter_client_sse/issues/26 and https://github.com/pratikbaid3/flutter_client_sse/issues/25
Should the browser version wrap dart sse client (https://pub.dev/documentation/sse/latest/client_sse_client/SseClient-class.html) instead of using http client?