tornadio2.router
¶
tornadio2.router¶
Transport protocol router and main entry point for all socket.io clients.
-
class
tornadio2.router.
TornadioRouter
(connection, user_settings={}, namespace='socket.io', io_loop=None)[source]¶ TornadIO2 router implementation
Public¶
-
TornadioRouter.
__init__
(connection, user_settings={}, namespace='socket.io', io_loop=None)[source]¶ Constructor.
- connection
- SocketConnection class instance
- user_settings
- Settings
- namespace
- Router namespace, defaulted to ‘socket.io’
- io_loop
- IOLoop instance, optional.
-
TornadioRouter.
urls
¶ List of the URLs to be added to the Tornado application