hello everyone,
so i've been trying to improve my skill with websockets, i tried to make a listener for chat42.online but no matter what i did i kept getting the same response back.
the code :
any help - clue is appreciated!
so i've been trying to improve my skill with websockets, i tried to make a listener for chat42.online but no matter what i did i kept getting the same response back.
the code :
async def main(): uri = "wss://chat42.online/ws" async with websockets.connect(uri=uri) as websocket: msg = await websocket.recv() print(f"{msg}") asyncio.get_event_loop().run_until_complete(main())i also tried to include the headers but nothing changed, i always get the response: b'\x10\x0c'
any help - clue is appreciated!