execlib/tests/test_handler.py

8 lines
237 B
Python
Raw Normal View History

# from websockets.sync.client import connect
#
# def hello():
# with connect("ws://localhost:8765") as websocket:
# websocket.send("Hello world!")
# message = websocket.recv()
# print(f"Received: {message}")