summaryrefslogtreecommitdiff
path: root/resource.c
AgeCommit message (Collapse)Author
2021-09-11resource: split resource object handlingRussell King
Move the low-level resource object handling out of the interface functions. Signed-off-by: Russell King <rmk@armlinux.org.uk>
2021-04-16resource: move the event formatting to object_v1_updateRussell King
Move the text/event-stream formatting to object_v1_update() from object_v1_send() to avoid the formatting and memory allocation overhead per client. 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>