commit | 17b52bbdeee53fc54e5bdf9b80934460a9d63ba6 | [log] [tgz] |
---|---|---|
author | Gary Roumanis <groumanis@gmail.com> | Mon Feb 08 10:02:32 2021 -0800 |
committer | GitHub <noreply@github.com> | Mon Feb 08 10:02:32 2021 -0800 |
tree | 887c2a12953e7b30fea9757593d52e136f2ef7a3 | |
parent | e93a783755b9b048b9156f795461d17a5ece9ce8 [diff] |
Add onConnected (#39) Closes https://github.com/dart-lang/sse/issues/38 Before this change consumers of `package:sse` must assume the connection is established immediately. Add `onConnected` to prevent this assumption and so that UIs can react accordingly.
This package provides support for bi-directional communication through Server Sent Events and corresponding POST requests.