diff --git a/ahserver/websocketProcessor.py b/ahserver/websocketProcessor.py index 02f8ce7..e5b9c4e 100755 --- a/ahserver/websocketProcessor.py +++ b/ahserver/websocketProcessor.py @@ -146,11 +146,13 @@ class WebsocketProcessor(PythonScriptProcessor): print(f'{request.path=}') del lenv['request'] txt = await self.loadScript(self.real_path) + print(f'{request.path=}2') ws = web.WebSocketResponse() + print(f'{request.path=}3') await ws.prepare(request) + print(f'{request.path=}4') ws_pool = WsPool(ws, request.path, request.app) - # await self.ws_send(ws, 'Welcome to websock') - print(f'{request.path=}') + print(f'{request.path=}5') async for msg in ws: print(f'{msg=}') if msg.type == aiohttp.WSMsgType.TEXT: