1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/script/provider.py
2022-11-13 22:22:35 +01:00

12 lines
247 B
Python
Executable File

#!/usr/bin/env python3
import asyncio
import websockets
async def hello():
async with websockets.connect('ws://localhost:8081') as websocket:
await websocket.send('Hello')
await websocket.recv()
asyncio.run(hello())