twisted.internet.test.test_tls.StartTLSClientEndpoint(object) class documentationtwisted.internet.test.test_tls
(View In Hierarchy)
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. |
Establish a connection using a protocol build by factory
and immediately start TLS on it. Return a Deferred which
fires with the protocol instance.