djangofloor.wsgi.aiohttp_runserver¶
-
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: - window_info (
djangofloor.wsgi.window_info.WindowInfo) – window - ws (
aiohttp.web.WebSocketResponse) – open websocket connection
- window_info (