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

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

Adapt a web context factory to a normal context factory.
Instance Variables_webContextA web context factory which accepts a hostname and port number to its getContext method.
_hostnameThe hostname which will be passed to _webContext.getContext.
_portThe port number which will be passed to _webContext.getContext.
Method __init__ Undocumented
Method getContext Called the wrapped web context factory's getContext method with a hostname and port number and return the resulting context object.
def __init__(self, webContext, hostname, port): (source)
Undocumented
def getContext(self): (source)
Called the wrapped web context factory's getContext method with a hostname and port number and return the resulting context object.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.