https://github.com/web-platform-tests/wpt
Raw File
Tip revision: acc0c18614330cd8cc280eae0a3a1977889f00c4 authored by Lennart Grahl on 09 May 2018, 13:35:25 UTC
Update all data channel tests to use async/await
Tip revision: acc0c18
echo-query_v13_wsh.py
#!/usr/bin/python

from mod_pywebsocket import msgutil, util

def web_socket_do_extra_handshake(request):
    pass

def web_socket_transfer_data(request):
    while True:
        msgutil.send_message(request, request.unparsed_uri.split('?')[1] or '')
        return
back to top