djangofloor.wsgi.aiohttp_runserver

djangofloor.wsgi.aiohttp_runserver.get_application()[source]
djangofloor.wsgi.aiohttp_runserver.get_http_request(aiohttp_request)[source]

Build a Django request from a aiohttp request: required to get sessions and topics.

Parameters:aiohttp_request (Request) – websocket request provided
djangofloor.wsgi.aiohttp_runserver.handle_redis(window_info, ws, subscriber)[source]

handle the Redis pubsub connection

djangofloor.wsgi.aiohttp_runserver.handle_ws(window_info, ws)[source]

process each event received on the websocket connection.

Parameters:
djangofloor.wsgi.aiohttp_runserver.websocket_handler(request)[source]