INNER CODE UNIT · Python

main

blokadaorg/blokada · common/websocket.py:23

async def main():
    ip = get_lan_ip()
    print(f"Starting server on {ip}:8765")
    async with websockets.serve(echo, ip, 8765):
        await asyncio.Future()  # run forever

asyncio.run(main())

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…