Esempio 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 '{}'
Esempio n. 2
0
def old_connect_web_socket():
    manage_web_socket(request.environ['wsgi.websocket'])
    return '{}'
Esempio n. 3
0
def connect_web_socket(ws):
    manage_web_socket(ws)
Esempio n. 4
0
def old_connect_web_socket(ws):
    manage_web_socket(ws)