This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is a simple example of WebSocket + Tornado + Simple EventEmitters usage. | |
Thanks to pyee by https://github.com/jesusabdullah | |
@Author:: Narayanaperumal G <[email protected]> | |
""" | |
import tornado.httpserver | |
import tornado.websocket | |
import tornado.ioloop | |
import tornado.web | |
from collections import defaultdict |