dart-eventsource
dart-eventsource copied to clipboard
A client and server implementation of Server-Side Events.
Hello, I'm having problems using the post. I have tried on web ```dart [...] Map body = { 'text': message.text, 'apikey': APIKEY, }; EventSource eventSource = await EventSource.connect( "myserverurl.com", client:...
Hi all, I'm using the package into an app running on iPhone. I created the object as: ``` eventSource = await EventSource.connect("https://my.com/php/utility/notify.php"); eventSource!.onOpen.listen((event) { debugPrint("SSE OPEN $event"); }); eventSource!.onMessage.listen((event) {...
Passing network error from the source stream from fetch-client and fetch-api. It handles the server crash problem.
Sadly this package does not work on web, as it currently stands. This is not directly to blame to the package author, but has to do with the fact that...
Hi^^ I have seen you are currently not actively working/using this package anymore. Would you be interested in having a Co-Maintainer? I could review PRs, do updates of packages to...
Added package:lints/recommended and fixed all the lint warnings. API BREAK: EventSourceReadyState values are now camelCase instead of SCREAMING_CAPS. This was almost entirely automated. I just pulled down the package, added...
Propagates the onDone and onError callbacks up to the top level stream controller
Is it possible to add the possibility to add authorization header? without it becomes useless in a secured environment :( i've been looking all around last two days and it...