Mercurial > code > home > repos > homeauto
view service/reasoning/twisted_sse_demo/README.md @ 294:14ac4a210dbc
Copy from from https://github.com/juggernaut/twisted-sse-demo
Ignore-this: a252d3c6e023cb83fd10bfbae78e05d9
author | drewp@bigasterisk.com |
---|---|
date | Fri, 19 Aug 2016 10:53:03 -0700 |
parents | |
children |
line wrap: on
line source
Twisted SSE demo ================ A twisted web server that implements server sent events (SSE) To run this demo: python sse_twisted_web.py Open up http://localhost:12000 in your browser. To publish events: curl -d 'data=Hello!' http://localhost:12000/publish You should see the data you publish in your browser. That's it!