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

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

An HTTP agent able to cross HTTP proxies.
Present Since11.1
Method __init__ Undocumented
Method request Issue a new request via the configured proxy.
Instance Variable _proxyEndpoint The endpoint used to connect to the proxy.

Inherited from _AgentBase:

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.
_proxyEndpoint =
The endpoint used to connect to the proxy.
def __init__(self, endpoint, reactor=None, pool=None): (source)
Undocumented
def request(self, method, uri, headers=None, bodyProducer=None): (source)
Issue a new request via the configured proxy.
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.