Public Member Functions | |
def | __init__ |
def | data_received |
def | finish |
def | headers_received |
def | on_connection_close |
Private Attributes | |
_chunk_size | |
_decompressor | |
_delegate |
Wraps an `HTTPMessageDelegate` to decode ``Content-Encoding: gzip``.
Definition at line 576 of file http1connection.py.
def rosbridge_tools.tornado.http1connection._GzipMessageDelegate.__init__ | ( | self, | |
delegate, | |||
chunk_size | |||
) |
Definition at line 579 of file http1connection.py.
def rosbridge_tools.tornado.http1connection._GzipMessageDelegate.data_received | ( | self, | |
chunk | |||
) |
Called when a chunk of data has been received. May return a `.Future` for flow control.
Reimplemented from rosbridge_tools.tornado.httputil.HTTPMessageDelegate.
Definition at line 596 of file http1connection.py.
Called after the last chunk of data has been received.
Reimplemented from rosbridge_tools.tornado.httputil.HTTPMessageDelegate.
Definition at line 609 of file http1connection.py.
def rosbridge_tools.tornado.http1connection._GzipMessageDelegate.headers_received | ( | self, | |
start_line, | |||
headers | |||
) |
Called when the HTTP headers have been received and parsed. :arg start_line: a `.RequestStartLine` or `.ResponseStartLine` depending on whether this is a client or server message. :arg headers: a `.HTTPHeaders` instance. Some `.HTTPConnection` methods can only be called during ``headers_received``. May return a `.Future`; if it does the body will not be read until it is done.
Reimplemented from rosbridge_tools.tornado.httputil.HTTPMessageDelegate.
Definition at line 584 of file http1connection.py.
Called if the connection is closed without finishing the request. If ``headers_received`` is called, either ``finish`` or ``on_connection_close`` will be called, but not both.
Reimplemented from rosbridge_tools.tornado.httputil.HTTPMessageDelegate.
Definition at line 621 of file http1connection.py.
Definition at line 579 of file http1connection.py.
Definition at line 579 of file http1connection.py.
Definition at line 579 of file http1connection.py.