Name Description Size
basic_auth_wsh.py A WebSocket handler that enforces basic HTTP authentication. Username is 'foo' and password is 'bar'. 975
delayed-passive-close_wsh.py 785
echo-cookie_wsh.py 347
echo-query_v13_wsh.py 257
echo-query_wsh.py 243
echo_close_data_wsh.py 588
echo_exit_wsh.py 521
echo_raw_wsh.py 349
echo_wsh.py 1177
empty-message_wsh.py 329
handshake_no_extensions_wsh.py 155
handshake_no_protocol_wsh.py 223
handshake_protocol_wsh.py 146
handshake_sleep_2_wsh.py 143
invalid_wsh.py 166
msg_channel_wsh.py Handle opening a websocket connection. 7837
origin_wsh.py 218
passive-close-abort_wsh.py Wait for a Close frame from the client and then close the connection without sending a Close frame in return. 633
protocol_array_wsh.py 342
protocol_wsh.py 308
receive-backpressure_wsh.py 343
receive-many-with-backpressure_wsh.py 752
referrer_wsh.py 306
remote-close_wsh.py Perform a server-initiated close according to the parameters passed in the query string. Supported parameters: * code=INT: The close code to send in the close frame. If omitted the Close frame will have an empty body. * reason=TEXT: The reason to be sent in the close frame. Only sent if `code` is set. * abrupt=1: Close the connection without sending a Close frame. Example: /remote-close?code=1000&reason=Done 1355
send-backpressure_wsh.py 1519
set-cookie-secure_wsh.py 356
set-cookie_http_wsh.py 404
set-cookie_wsh.py 346
set-cookies-samesite_wsh.py 891
simple_handshake_wsh.py 1659
sleep_10_v13_wsh.py 364
stash_responder_blocking_wsh.py 1069
stash_responder_wsh.py 1621
wrong_accept_key_wsh.py 565