Public Member Functions | |
def | __init__ |
def | close |
def | start_serving |
Public Attributes | |
context | |
params | |
stream | |
Private Member Functions | |
def | _server_request_loop |
Private Attributes | |
_serving_future |
An HTTP/1.x server.
Definition at line 625 of file http1connection.py.
def tornado.http1connection.HTTP1ServerConnection.__init__ | ( | self, | |
stream, | |||
params = None , |
|||
context = None |
|||
) |
:arg stream: an `.IOStream` :arg params: a `.HTTP1ConnectionParameters` or None :arg context: an opaque application-defined object that is accessible as ``connection.context``
Definition at line 627 of file http1connection.py.
def tornado.http1connection.HTTP1ServerConnection._server_request_loop | ( | self, | |
delegate | |||
) | [private] |
Definition at line 667 of file http1connection.py.
Closes the connection. Returns a `.Future` that resolves after the serving loop has exited.
Definition at line 642 of file http1connection.py.
def tornado.http1connection.HTTP1ServerConnection.start_serving | ( | self, | |
delegate | |||
) |
Starts serving requests on this connection. :arg delegate: a `.HTTPServerConnectionDelegate`
Definition at line 655 of file http1connection.py.
Definition at line 632 of file http1connection.py.
Definition at line 632 of file http1connection.py.
Definition at line 632 of file http1connection.py.
Definition at line 632 of file http1connection.py.