Add a Server-Sent Event endpoint #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For clients that would like to be pushed data, support Server-Sent Events.
See e.g. https://medium.com/@tdenton8772/streaming-api-design-using-python-and-javascript-1b0ce8adb703
This involves some design effort e.g. how to we trigger push events to waiting clients when the spot list gets added to? Do we support filters in this endpoint, and if so how do we remember what clients we have attached and what query parameters they used?
Once we add support for this, we should also update the built-in front-end to use it.
TODO:
Tentatively want to say this is done... Now to push it live and see what breaks