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

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

A _ContextFactoryWithContext is like a twisted.internet.ssl.ContextFactory with a pre-created context.
Method __init__ Initialize a _ContextFactoryWithContext with a context.
Method getContext Return the context created by _DeprecatedToCurrentPolicyForHTTPS._webContextFactory.
Instance Variable _context A Context. (type: OpenSSL.SSL.Context)
_context =
A Context. (type: OpenSSL.SSL.Context)
def __init__(self, context): (source)
Initialize a _ContextFactoryWithContext with a context.
ParameterscontextAn SSL context. (type: OpenSSL.SSL.Context)
def getContext(self): (source)
Return the context created by _DeprecatedToCurrentPolicyForHTTPS._webContextFactory.
ReturnsAn old-style context factory. (type: object with getContext method, like twisted.internet.ssl.ContextFactory.)
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.