Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint

An endpoint which wraps another one and adds a TLS layer immediately when connections are set up.

Instance Variable wrapped A IStreamClientEndpoint provider which will be used to really set up connections.
Instance Variable contextFactory A ContextFactory to use to do TLS.
Method __init__ Undocumented
Method connect Establish a connection using a protocol build by factory and immediately start TLS on it. Return a Deferred which fires with the protocol instance.
wrapped =
A IStreamClientEndpoint provider which will be used to really set up connections.
contextFactory =
A ContextFactory to use to do TLS.
def __init__(self, wrapped, contextFactory):
Undocumented
def connect(self, factory):

Establish a connection using a protocol build by factory and immediately start TLS on it. Return a Deferred which fires with the protocol instance.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.