summaryrefslogtreecommitdiff
path: root/resource.h
AgeCommit message (Collapse)Author
2021-09-26resource: provide "backend" status eventsRussell King
Provide status events for the backend connection state, so the web clients know whether anything is connected and when the last connect or disconnect event happened. Signed-off-by: Russell King <rmk@armlinux.org.uk>
2021-09-11Restrict updates to the newest updaterRussell King
Prevent old update connections from providing updates, closing them if they attempt an update. In doing so, this also limits resource usage when we have multiple updaters connected (which should never happen.) Signed-off-by: Russell King <rmk@armlinux.org.uk>
2021-09-11resource: split resource operations from resource object structureRussell King
Move the resource operations out of the resource object structure and make them const. Signed-off-by: Russell King <rmk@armlinux.org.uk>
2021-04-16event-httpd: add event httpd supportRussell King
Add event httpd, which is a small and basic http server designed to provide server sent events to clients. The server accepts updates through a simple "UPDATE" method which are then broadcast to clients listening using the "GET" method. Signed-off-by: Russell King <rmk@armlinux.org.uk>