toolkit/content/tests/chrome/file_about_networking_wsh.py

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/content/tests/chrome/file_about_networking_wsh.py	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,9 @@
     1.4 +from mod_pywebsocket import msgutil
     1.5 +
     1.6 +def web_socket_do_extra_handshake(request):
     1.7 +	pass
     1.8 +
     1.9 +def web_socket_transfer_data(request):
    1.10 +	while not request.client_terminated:
    1.11 +		msgutil.receive_message(request)
    1.12 +

mercurial