Added client code
This commit is contained in:
parent
bdd2c0f91d
commit
6ec668d7a4
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user