Added client code

This commit is contained in:
hornet 2021-11-09 14:24:58 -05:00
parent bdd2c0f91d
commit 6ec668d7a4

View File

@ -26,7 +26,7 @@ def on_open(ws):
if __name__ == "__main__": if __name__ == "__main__":
websocket.enableTrace(True) websocket.enableTrace(True)
ws = websocket.WebSocketApp("wss://hornetfighter.com:9443", ws = websocket.WebSocketApp("ws://localhost:6873",
on_open=on_open, on_open=on_open,
on_message=on_message, on_message=on_message,
on_error=on_error, on_error=on_error,