summaryrefslogtreecommitdiffstats
path: root/module/obmc/wsgi/examples
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-10-11 01:19:17 -0500
committerDeepak Kodihalli <dkodihal@in.ibm.com>2017-10-18 07:13:56 -0500
commitb209dd16eaa495ae3a9fa0fa2e7610fed3c32277 (patch)
tree6117a668364bb30d5ae39be3998c739d975fde19 /module/obmc/wsgi/examples
parent48c7641c79d53be19b8a0c6c33f8b34582791b1c (diff)
downloadphosphor-rest-server-b209dd16eaa495ae3a9fa0fa2e7610fed3c32277.tar.gz
phosphor-rest-server-b209dd16eaa495ae3a9fa0fa2e7610fed3c32277.zip
rest_dbus: add new route for event subscription
Add a route, '/subscribe', to be able to receive notifications from the REST server over a websocket. A client is supposed to create a new websocket by pointing to this route in the URL. In this commit, the implementation of the route is to just write a "Connected" message on the websocket. Change-Id: I38a40b2c17eac3ecdccb131d267baefe20b36572 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'module/obmc/wsgi/examples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud