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.
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.
Instance Variable _webContext A web context factory which accepts a hostname and port number to its getContext method.
Instance Variable _hostname The hostname which will be passed to _webContext.getContext.
Instance Variable _port The port number which will be passed to _webContext.getContext.
_webContext =
A web context factory which accepts a hostname and port number to its getContext method.
_hostname =
The hostname which will be passed to _webContext.getContext.
_port =
The port number which will be passed to _webContext.getContext.
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 2013-04-03 11:20:05.