Updated ws_talk.py
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ from websocket import create_connection
|
||||
|
||||
ws = create_connection("ws://localhost:1212/update")
|
||||
while True:
|
||||
ws.send(payload="")#json.dumps({"op":"addr_sub", "addr":"dogecoin_address"}))
|
||||
ws.send(payload="hello baby")#json.dumps({"op":"addr_sub", "addr":"dogecoin_address"}))
|
||||
result = ws.recv()
|
||||
print(eval(result))
|
||||
print(result)
|
||||
|
||||
Reference in New Issue
Block a user