Support event notification to clients by the server
Created on 2015-04-20 22:33:04 +0900
Created by hyunghwan.chung
Last updated on 2015-04-20 22:34:53 +0900
Last updated by hyunghwan.chung
* Add a new feature to send an event notification to clients.
* Consider using SSE (Server Sent Event) and EventSource
* Let Codepot send an event to the QSEHTTPD-based event bridge
* Let EventSource on the client side subscript to the events from the bridge
The bridge is required as it is not efficient to keep persistent connections to PHP/Apache for event subscription.
The URL to the bridge is configured in /etc/codepot/codepot.ini
The client gets this URL over a JSON call to the server. json/event_bridge_url