Name Description Size
basic_auth_wsh.py A WebSocket handler that enforces basic HTTP authentication. Username is 'foo' and password is 'bar'. 978
delayed-passive-close_wsh.py 788
echo-cookie_wsh.py 350
echo-query_v13_wsh.py 260
echo-query_wsh.py 246
echo_close_data_wsh.py 588
echo_exit_wsh.py 521
echo_raw_wsh.py 352
echo_wsh.py 1180
empty-message_wsh.py 332
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. 7840
origin_wsh.py 221
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. 636
protocol_array_wsh.py 345
protocol_wsh.py 311
receive-backpressure_wsh.py 343
receive-many-with-backpressure_wsh.py 752
referrer_wsh.py 309
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 1358
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 1665
sleep_10_v13_wsh.py 367
stash_responder_blocking_wsh.py 1072
stash_responder_wsh.py 1624
wrong_accept_key_wsh.py 565