Feature/ws send confirmation removal (#280)
* Removed send confirmation * Updated websocket examples
This commit is contained in:
committed by
GitHub
parent
5ef96aa241
commit
6cc2bc6f91
@@ -26,8 +26,6 @@ async def send_file():
|
||||
|
||||
print("sending content of 'dummy_file' over the mix network...")
|
||||
await websocket.send(bin_payload)
|
||||
msg_send_confirmation = json.loads(await websocket.recv())
|
||||
assert msg_send_confirmation["type"], "send"
|
||||
|
||||
print("waiting to receive the 'dummy_file' from the mix network...")
|
||||
received_data = await websocket.recv()
|
||||
|
||||
@@ -24,8 +24,6 @@ async def send_text():
|
||||
|
||||
print("sending '{}' over the mix network...".format(message))
|
||||
await websocket.send(text_send)
|
||||
msg_send_confirmation = json.loads(await websocket.recv())
|
||||
assert msg_send_confirmation["type"], "send"
|
||||
|
||||
print("waiting to receive a message from the mix network...")
|
||||
received_message = await websocket.recv()
|
||||
|
||||
Reference in New Issue
Block a user