the socketio class samples

the socketio class samples

the socketio class samples. AsyncServer will automatically utilise aiohttp for asynchronous tasks if the library is present. 

You can explicitly ask for its use by passing the async mode argument to the function Object()

-The aiohttp application may be configured to interact with the Socket.IO server and regular routes. A typical strategy is to add routes that serve a client application and any associated static files.

The aiohttp application is then run using the regular procedure.

HTTP and WebSocket are supported by the Tornado web framework. This framework needs Python 3.5 or above to be supported. Only Tornado versions 5 and newer are supported because to its strong relationship with asyncio.