Public Member Functions | Public Attributes | Private Attributes
tornado.wsgi._WSGIConnection Class Reference
Inheritance diagram for tornado.wsgi._WSGIConnection:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def finish
def set_close_callback
def write
def write_headers

Public Attributes

 context
 method
 start_response

Private Attributes

 _error
 _expected_content_remaining
 _finished
 _write_buffer

Detailed Description

Definition at line 94 of file wsgi.py.


Constructor & Destructor Documentation

def tornado.wsgi._WSGIConnection.__init__ (   self,
  method,
  start_response,
  context 
)

Definition at line 95 of file wsgi.py.


Member Function Documentation

Indicates that the last body data has been written.

Reimplemented from tornado.httputil.HTTPConnection.

Definition at line 137 of file wsgi.py.

def tornado.wsgi._WSGIConnection.set_close_callback (   self,
  callback 
)

Definition at line 104 of file wsgi.py.

def tornado.wsgi._WSGIConnection.write (   self,
  chunk,
  callback = None 
)
Writes a chunk of body data.

The callback will be run when the write is complete.  If no callback
is given, returns a Future.

Reimplemented from tornado.httputil.HTTPConnection.

Definition at line 125 of file wsgi.py.

def tornado.wsgi._WSGIConnection.write_headers (   self,
  start_line,
  headers,
  chunk = None,
  callback = None 
)
Write an HTTP header block.

:arg start_line: a `.RequestStartLine` or `.ResponseStartLine`.
:arg headers: a `.HTTPHeaders` instance.
:arg chunk: the first (optional) chunk of data.  This is an optimization
    so that small responses can be written in the same call as their
    headers.
:arg callback: a callback to be run when the write is complete.

Returns a `.Future` if no callback is given.

Reimplemented from tornado.httputil.HTTPConnection.

Definition at line 109 of file wsgi.py.


Member Data Documentation

Definition at line 95 of file wsgi.py.

Definition at line 95 of file wsgi.py.

Definition at line 95 of file wsgi.py.

Definition at line 95 of file wsgi.py.

Definition at line 95 of file wsgi.py.

Definition at line 95 of file wsgi.py.

Definition at line 95 of file wsgi.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