sse
sse copied to clipboard
Dart Server Sent Events package
Updated README.md file by adding step by step example of use case of this package.
This package should be tested with dart2wasm as well as dart2js Blocked on https://github.com/dart-lang/test/issues/2143
The type of `SseConnection.sink` is `Stream`but then before sending (in `_setUpListener`) the message is JSON encoded. The interface I try to implement expects singly encoded JSON. Could the type of...
Currently we only have tests for the SseHandler, add similar tests for SseClient
The tests are not automatically built if one were to change the contents of this package. You have to manually run `dart2js`. Either depend on `package:build_runner` to automatically update these...
Chrome limits the number of pending outgoing requests. Additional requests after this limit automatically fail. It'd be good `package:sse` kept track of these outgoing requests and instead buffered additional requests...
If the server uses a `keepAlive` configuration then we won't get a close signal until after the keep alive period ends. We should update the client to send an explicit...
I can't seem to find any documentation for how to use this library!