From 88b78d1c46679164a22b7d2b5e37a59e2df97b92 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 20 Apr 2016 11:13:40 -0700 Subject: [PATCH] fix comment: bodies are hex, not base64 --- src/wormhole_server/rendezvous_websocket.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wormhole_server/rendezvous_websocket.py b/src/wormhole_server/rendezvous_websocket.py index 4a2b8bb..53ec2fa 100644 --- a/src/wormhole_server/rendezvous_websocket.py +++ b/src/wormhole_server/rendezvous_websocket.py @@ -33,8 +33,8 @@ from autobahn.twisted import websocket # <- {type: "allocated", channelid: int} # -> {type: "claim", channelid: int} # -> {type: "watch"} -> message # sends old messages and more in future -# <- {type: "message", message: {phase:, body:}} # body is base64 -# -> {type: "add", phase: str, body: base64} # may send echo +# <- {type: "message", message: {phase:, body:}} # body is hex +# -> {type: "add", phase: str, body: hex} # may send echo # -> {type: "deallocate", mood: str} -> deallocated # <- {type: "deallocated", status: waiting|deleted} # <- {type: "error", error: str, orig: {}} # in response to malformed msgs