class documentation

class TunnelingAgent(Agent): (source)

View In Hierarchy

An agent that uses a L{TunnelingTCP4ClientEndpoint} to make HTTPS downloads. It may look strange that we have chosen to subclass Agent and not ProxyAgent but consider that after the tunnel is opened the proxy is transparent to the client; thus the agent should behave like there is no proxy involved.

Method __init__ Undocumented
Method _getEndpoint Undocumented
Method _requestWithEndpoint Undocumented
Instance Variable _contextFactory Undocumented
Instance Variable _proxyConf Undocumented
def __init__(self, reactor, proxyConf, contextFactory=None, connectTimeout=None, bindAddress=None, pool=None): (source)

Undocumented

def _getEndpoint(self, uri): (source)

Undocumented

def _requestWithEndpoint(self, key, endpoint, method, parsedURI, headers, bodyProducer, requestPath): (source)

Undocumented

_contextFactory = (source)

Undocumented

_proxyConf = (source)

Undocumented