Public Member Functions | |
def | on_close |
def | start_request |
Implement this interface to handle requests from `.HTTPServer`. .. versionadded:: 4.0
Definition at line 465 of file httputil.py.
def tornado.httputil.HTTPServerConnectionDelegate.on_close | ( | self, | |
server_conn | |||
) |
This method is called when a connection has been closed. :arg server_conn: is a server connection that has previously been passed to ``start_request``.
Reimplemented in tornado.httpserver.HTTPServer.
Definition at line 482 of file httputil.py.
def tornado.httputil.HTTPServerConnectionDelegate.start_request | ( | self, | |
server_conn, | |||
request_conn | |||
) |
This method is called by the server when a new request has started. :arg server_conn: is an opaque object representing the long-lived (e.g. tcp-level) connection. :arg request_conn: is a `.HTTPConnection` object for a single request/response exchange. This method should return a `.HTTPMessageDelegate`.
Reimplemented in tornado.httpserver.HTTPServer.
Definition at line 470 of file httputil.py.