Public Member Functions
tornado.httputil.HTTPServerConnectionDelegate Class Reference
Inheritance diagram for tornado.httputil.HTTPServerConnectionDelegate:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def on_close
def start_request

Detailed Description

Implement this interface to handle requests from `.HTTPServer`.

.. versionadded:: 4.0

Definition at line 465 of file httputil.py.


Member Function Documentation

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.


The documentation for this class was generated from the following file:


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Thu Aug 27 2015 14:50:40