Public Member Functions | |
def | __init__ |
def | on_connection_close |
Public Attributes | |
client_terminated | |
handler | |
request | |
server_terminated | |
stream | |
Private Member Functions | |
def | _abort |
def | _run_callback |
Base class for WebSocket protocol versions.
Definition at line 353 of file websocket.py.
def tornado.websocket.WebSocketProtocol.__init__ | ( | self, | |
handler | |||
) |
Definition at line 356 of file websocket.py.
def tornado.websocket.WebSocketProtocol._abort | ( | self | ) | [private] |
Instantly aborts the WebSocket connection by closing the socket
Definition at line 378 of file websocket.py.
def tornado.websocket.WebSocketProtocol._run_callback | ( | self, | |
callback, | |||
args, | |||
kwargs | |||
) | [private] |
Runs the given callback with exception handling. On error, aborts the websocket connection and returns False.
Definition at line 363 of file websocket.py.
Definition at line 375 of file websocket.py.
Reimplemented in tornado.websocket.WebSocketProtocol13.
Definition at line 356 of file websocket.py.
Definition at line 356 of file websocket.py.
Definition at line 356 of file websocket.py.
Reimplemented in tornado.websocket.WebSocketProtocol13.
Definition at line 356 of file websocket.py.
Definition at line 356 of file websocket.py.