commit | af7d8d0881d3309fe9ffc3f0778b33ae745fddd1 | [log] [tgz] |
---|---|---|
author | Ilya Yanok <yanok@google.com> | Fri Feb 09 18:22:57 2024 +0100 |
committer | GitHub <noreply@github.com> | Fri Feb 09 09:22:57 2024 -0800 |
tree | 47ef287b27b4264de6a3f58b5a4396d498e160de | |
parent | e483b1413bdaae14a102a80d559b3cfcbd0adcce [diff] |
Make `SseConnection` extend `StreamChannelMixin<String>` (#102) I don't see any reason for the type argument to be nullable. Seems like a null safety migration artifact.
This package provides support for bi-directional communication through Server Sent Events and corresponding POST requests.
This package is not intended to be a general purpose SSE package, but instead is a bidirectional protocol for use when Websockets are unavailable. That is, both the client and the server expose a sink
and stream
on which to send and receive messages respectively.
Both the server and client have implicit assumptions on each other and therefore a client from this package must be paired with a server from this package.