Deleted ws_talk.py
This commit is contained in:
parent
0c932b92c6
commit
abcc9fc656
12
ws_talk.py
12
ws_talk.py
|
|
@ -1,12 +0,0 @@
|
|||
import json
|
||||
from websocket import create_connection
|
||||
|
||||
ws = create_connection("ws://localhost:1212/talk")
|
||||
while True:
|
||||
ws.send(payload=b"{'text': 123, 'username': 'bob'}")#json.dumps({"op":"addr_sub", "addr":"dogecoin_address"}))
|
||||
result = ws.recv()
|
||||
print(result)
|
||||
ws.send(payload=input("whats your message:"))
|
||||
#print(eval(result))
|
||||
#print(result)
|
||||
ws.close()
|
||||
Loading…
Reference in New Issue
Block a user