Class e.p.h.e.c.HTTPClientProtocol(LineReceiver, TimeoutMixin, object):

Part of elisa.plugins.http_client.extern.client_http View In Hierarchy

Known subclasses: elisa.plugins.http_client.http_client.ElisaHttpClientProtocol

A HTTP 1.1 Client with request pipelining support.
Line # Kind Name Docs
266 Method __init__
278 Method lineReceived Undocumented
294 Method rawDataReceived Undocumented
306 Method submitRequest
339 Method requestWriteFinished Undocumented
348 Method requestReadFinished Undocumented
360 Method setReadPersistent Undocumented
368 Method connectionLost Undocumented
def __init__(self, manager=None):
ParametersmanagerThe object this client reports it state to. (type: IHTTPClientManager )
def lineReceived(self, line):
Undocumented
def rawDataReceived(self, data):
Undocumented
def submitRequest(self, request, closeAfter=True):
ParametersrequestThe request to send to a remote server. (type: ClientRequest )
closeAfterIf True the 'Connection: close' header will be sent, otherwise 'Connection: keep-alive' (type: bool )
ReturnsA Deferred which will be called back with the twisted.web2.http.Response from the server. (type: twisted.internet.defer.Deferred )
def requestWriteFinished(self, request):
Undocumented
def requestReadFinished(self, request):
Undocumented
def setReadPersistent(self, persist):
Undocumented
def connectionLost(self, reason):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.