Public Member Functions | |
def | get |
def | initialize |
def | on_connection_close |
Public Attributes | |
test |
Definition at line 214 of file web_test.py.
def tornado.test.web_test.ConnectionCloseHandler.get | ( | self | ) |
Definition at line 219 of file web_test.py.
def tornado.test.web_test.ConnectionCloseHandler.initialize | ( | self, | |
test | |||
) |
Definition at line 215 of file web_test.py.
Called in async handlers if the client closed the connection. Override this to clean up resources associated with long-lived connections. Note that this method is called only if the connection was closed during asynchronous processing; if you need to do cleanup after every request override `on_finish` instead. Proxies may keep a connection open for a time (perhaps indefinitely) after the client has gone away, so this method may not be called promptly after the end user closes their connection.
Reimplemented from tornado::web::RequestHandler.
Definition at line 222 of file web_test.py.
Definition at line 215 of file web_test.py.