t.w.c._AgentBase(object) : class documentation

Part of twisted.web.client View Source View In Hierarchy

Known subclasses: twisted.web.client.Agent, twisted.web.client.ProxyAgent

Base class offering common facilities for Agent-type classes.
Method __init__ Undocumented
Instance Variable _reactor The IReactorTime implementation which will be used by the pool, and perhaps by subclasses as well.
Instance Variable _pool The HTTPConnectionPool used to manage HTTP connections.
Method _computeHostValue Compute the string to use for the value of the Host header, based on the given scheme, host name, and port number.
Method _requestWithEndpoint Issue a new request, given the endpoint and the path sent as part of the request.
_reactor =
The IReactorTime implementation which will be used by the pool, and perhaps by subclasses as well.
_pool =
The HTTPConnectionPool used to manage HTTP connections.
def __init__(self, reactor, pool): (source)
Undocumented
def _computeHostValue(self, scheme, host, port): (source)
Compute the string to use for the value of the Host header, based on the given scheme, host name, and port number.
def _requestWithEndpoint(self, key, endpoint, method, parsedURI, headers, bodyProducer, requestPath): (source)
Issue a new request, given the endpoint and the path sent as part of the request.
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.