twisted.internet.interfaces.IReactorSSL.listenSSL(port, factory, contextFactory, backlog=50, interface='')
method documentationtwisted.internet.interfaces.IReactorSSL
View Source
Connects a given protocol factory to the given numeric TCP/IP port. The connection is a SSL one, using contexts created by the context factory.
Parameters | port | a port number on which to listen |
factory | a twisted.internet.protocol.ServerFactory
instance | |
contextFactory | an implementor of IOpenSSLContextFactory | |
backlog | size of the listen queue | |
interface | the hostname to bind to, defaults to '' (all) |