https://github.com/juggernaut/twisted-sse-demo
A twisted web server that implements server sent events (SSE)
https://github.com/juggernaut/twisted-sse-demo
Last synced: 8 months ago
JSON representation
A twisted web server that implements server sent events (SSE)
- Host: GitHub
- URL: https://github.com/juggernaut/twisted-sse-demo
- Owner: juggernaut
- Created: 2013-09-30T00:24:53.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-12-16T23:48:28.000Z (over 11 years ago)
- Last Synced: 2023-03-23T02:51:42.924Z (over 3 years ago)
- Language: Python
- Size: 159 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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!