document test-clients

pull/23/head
meejah 3 years ago
parent 82c175a02e
commit 3cda647883

@ -1,4 +1,9 @@
from __future__ import print_function
"""
This is a test-client for the transit-relay that uses TCP. It
doesn't send any data, only prints out data that is received. Uses a
fixed token of 64 'a' characters. Always connects on localhost:4001
"""
from twisted.internet import endpoints
from twisted.internet.defer import (

@ -1,4 +1,12 @@
from __future__ import print_function
"""
This is a test-client for the transit-relay that uses WebSockets.
If an additional command-line argument (anything) is added, it will
send 5 messages upon connection. Otherwise, it just prints out what is
received. Uses a fixed token of 64 'a' characters. Always connects on
localhost:4002
"""
import sys
from twisted.internet import endpoints

Loading…
Cancel
Save