commit | 2f6f151831b9a0015dfa0d2e87a3f2e22e2e4123 | [log] [tgz] |
---|---|---|
author | Elliott Brooks (she/her) <21270878+elliette@users.noreply.github.com> | Wed Nov 23 15:23:56 2022 -0800 |
committer | GitHub <noreply@github.com> | Wed Nov 23 15:23:56 2022 -0800 |
tree | c8aaf953ab4dc4368a3612a8995e42e355074896 | |
parent | eaee6a86235bb59e5c29ca838666b4c3c86f9f25 [diff] |
Add optional `debugKey` parameter to SSE client (#67)
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.