class documentation
class StartTLSClientEndpoint: (source)
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
An endpoint which wraps another one and adds a TLS layer immediately when connections are set up.
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. |
Instance Variable | context |
A ContextFactory to use to do TLS. |
Instance Variable | wrapped |
A IStreamClientEndpoint provider which will be used to really set up connections. |
Establish a connection using a protocol build by factory and immediately start TLS on it. Return a Deferred
which fires with the protocol instance.