twisted.web.client._ContextFactoryWithContext(object)
class documentationtwisted.web.client
View Source
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IOpenSSLContextFactory
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 ) |
Initialize a _ContextFactoryWithContext
with a context.
Parameters | context | An SSL context. (type: OpenSSL.SSL.Context ) |
Return the context created by _DeprecatedToCurrentPolicyForHTTPS._webContextFactory
.
Returns | A context. (type: OpenSSL.SSL.Context ) |