Public Member Functions | |
def | __init__ |
def | async_callback |
def | on_connection_close |
Public Attributes | |
client_terminated | |
handler | |
request | |
server_terminated | |
stream | |
Private Member Functions | |
def | _abort |
Base class for WebSocket protocol versions.
Definition at line 237 of file websocket.py.
def tornado.websocket.WebSocketProtocol.__init__ | ( | self, | |
handler | |||
) |
Reimplemented in tornado.websocket.WebSocketProtocol13, and tornado.websocket.WebSocketProtocol76.
Definition at line 240 of file websocket.py.
def tornado.websocket.WebSocketProtocol._abort | ( | self | ) | [private] |
Instantly aborts the WebSocket connection by closing the socket
Definition at line 268 of file websocket.py.
def tornado.websocket.WebSocketProtocol.async_callback | ( | self, | |
callback, | |||
args, | |||
kwargs | |||
) |
Wrap callbacks with this if they are used on asynchronous requests. Catches exceptions properly and closes this WebSocket if an exception is uncaught.
Definition at line 247 of file websocket.py.
Definition at line 265 of file websocket.py.
Reimplemented in tornado.websocket.WebSocketProtocol13, and tornado.websocket.WebSocketProtocol76.
Definition at line 240 of file websocket.py.
Definition at line 240 of file websocket.py.
Definition at line 240 of file websocket.py.
Reimplemented in tornado.websocket.WebSocketProtocol13, and tornado.websocket.WebSocketProtocol76.
Definition at line 240 of file websocket.py.
Definition at line 240 of file websocket.py.