SSE in Tornado

147 views
Skip to first unread message

David Arken

unread,
Feb 12, 2022, 7:15:14 PM2/12/22
to Tornado Mailing List
Is there a good example of Server Side Event implementation in Tornado, preferably with unit tests for it? (and co-existing with REST APIs)

Thanks,
D.

Ben Darnell

unread,
Feb 13, 2022, 2:38:05 PM2/13/22
to Tornado Mailing List
There's a very old example in this PR, and the comments have links to some other implementations and commentary: https://github.com/tornadoweb/tornado/pull/381

(Note that some of these comments are outdated: Edge finally added support for SSE in 2020, removing one of the biggest limitations).

-Ben

--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornad...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python-tornado/CAMwwwG%3DrjDwwtnPfqs0fm4HWkrnyEPobA%2BaQTPVLD-f0FYt3PA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages