Exemplo n.º 1
0
def connect_web_socket():
    if 'wsgi.websocket' in request.environ:
        manage_web_socket(request.environ['wsgi.websocket'])
    else:
        logging.warning(
            'request for websocket but websocket support not enabled; if running locally, use -s option'
        )
    return '{}'
Exemplo n.º 2
0
def old_connect_web_socket():
    manage_web_socket(request.environ['wsgi.websocket'])
    return '{}'
Exemplo n.º 3
0
def connect_web_socket(ws):
    manage_web_socket(ws)
Exemplo n.º 4
0
def old_connect_web_socket(ws):
    manage_web_socket(ws)