# 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):
overridden in elisa.plugins.http_client.http_client.ElisaHttpClientProtocol

Parameters | manager | The 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):

Parameters | request | The request to send to a remote server. (type: `ClientRequest` )
| closeAfter | If True the 'Connection: close' header will be sent, otherwise 'Connection: keep-alive' (type: `bool` )
Returns | A Deferred which will be called back with the `twisted.web2.http.Response` from the server. (type: `twisted.internet.defer.Deferred` )

def requestWriteFinished(self, request):
overridden in elisa.plugins.http_client.http_client.ElisaHttpClientProtocol
Undocumented
def requestReadFinished(self, request):
Undocumented
def setReadPersistent(self, persist):
Undocumented
def connectionLost(self, reason):
Undocumented