An open API service indexing awesome lists of open source software.

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)

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!