Public Member Functions | |
def | get |
def | initialize |
def | on_connection_close |
Public Attributes | |
test |
Definition at line 263 of file web_test.py.
def tornado.test.web_test.ConnectionCloseHandler.get | ( | self | ) |
Definition at line 268 of file web_test.py.
def tornado.test.web_test.ConnectionCloseHandler.initialize | ( | self, | |
test | |||
) |
Definition at line 264 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 271 of file web_test.py.
Definition at line 264 of file web_test.py.