From 5e0a7e4c93d99e549d76e99cc3043e46c60e9c77 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 22 Nov 2015 17:44:25 -0800 Subject: [PATCH] remove stale copy of server URLs --- src/wormhole/blocking/transcribe.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/wormhole/blocking/transcribe.py b/src/wormhole/blocking/transcribe.py index bd83ea9..2e88c5b 100644 --- a/src/wormhole/blocking/transcribe.py +++ b/src/wormhole/blocking/transcribe.py @@ -24,16 +24,6 @@ def make_confmsg(confkey, nonce): def to_bytes(u): return unicodedata.normalize("NFC", u).encode("utf-8") -# relay URLs are as follows: (MESSAGES=[{phase:,body:}..]) -# GET /list?appid= -> {channelids: [INT..]} -# POST /allocate {appid:,side:} -> {channelid: INT} -# these return all messages (base64) for appid=/channelid= : -# POST /add {appid:,channelid:,side:,phase:,body:} -> {messages: MESSAGES} -# GET /get?appid=&channelid= (no-eventsource) -> {messages: MESSAGES} -# GET /get?appid=&channelid= (eventsource) -> {phase:, body:}.. -# POST /deallocate {appid:,channelid:,side:} -> {status: waiting | deleted} -# all JSON responses include a "welcome:{..}" key - class Channel: def __init__(self, relay_url, appid, channelid, side, handle_welcome, wait, timeout):