Полная синхронизация

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
2026-05-19 19:40:42 +03:00
co-authored by Qwen-Coder
parent df5ce8a683
commit cae22004b1
17 changed files with 1139 additions and 138 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env python3
import asyncio
import websockets
async def test():
async with websockets.connect("ws://localhost:8675") as ws:
print("Connected!")
while True:
msg = await ws.recv()
print(f"Received: {msg}")
asyncio.run(test())