https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 23b21c3ff52b6ba75cdfbbd3c86b73c9849c366a authored by Philip Jägenstedt on 27 August 2018, 12:41:26 UTC
Add historical tests for SSML in Speech API
Tip revision: 23b21c3
protocol_wsh.py
#!/usr/bin/python

from mod_pywebsocket import msgutil, util

def web_socket_do_extra_handshake(request):
    request.ws_protocol = request.headers_in.get('Sec-WebSocket-Protocol')
#pass

def web_socket_transfer_data(request):
    while True:
        msgutil.send_message(request, request.ws_protocol)
        return
back to top