Name Description Size Coverage
abort_handshake_wsh.py 1817 -
abort_wsh.py 1812 -
bench_wsh.py A simple load tester for WebSocket clients. A client program sends a message formatted as "<time> <count> <message>" to this handler. This handler starts sending total <count> WebSocket messages containing <message> every <time> seconds. <time> can be a floating point value. <count> must be an integer value. 2387 -
benchmark_helper_wsh.py Handler for benchmark.html. 3257 -
cgi-bin -
close_wsh.py 2822 -
cookie_wsh.py 2282 -
echo_client.py Simple WebSocket client named echo_client just because of historical reason. pywebsocket3 directory must be in PYTHONPATH. Example Usage: # server setup % cd $pywebsocket3 % PYTHONPATH=$cwd/src python ./pywebsocket3/standalone.py -p 8880 \ -d $cwd/src/example # run client % PYTHONPATH=$cwd/src python ./src/example/echo_client.py -p 8880 \ -s localhost \ -o http://localhost -r /echo -m test 25791 -
echo_noext_wsh.py Received Sec-WebSocket-Extensions header value is parsed into request.ws_requested_extensions. pywebsocket creates extension processors using it before do_extra_handshake call and never looks at it after the call. To reject requested extensions, clear the processor list. 2421 -
echo_wsh.py 2214 -
hsts_wsh.py 1784 -
internal_error_wsh.py 1774 -
origin_check_wsh.py 1992 -