commit | eaee6a86235bb59e5c29ca838666b4c3c86f9f25 | [log] [tgz] |
---|---|---|
author | Elliott Brooks (she/her) <21270878+elliette@users.noreply.github.com> | Wed Nov 23 13:19:45 2022 -0800 |
committer | GitHub <noreply@github.com> | Wed Nov 23 13:19:45 2022 -0800 |
tree | c09f25866a6515e890bcbeff408e99aa0af2131e | |
parent | 283568dd4865cc51e25370ed107fcbdb68759c22 [diff] |
Use Fetch API in SSE Client (#66)
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.