扭曲了https

ale*_*rsh 3 https twisted

嗨,我有一个运行扭曲的应用程序.我想让它运行https而不是http.我在哪里可以找到一个很好的例子?

Jea*_*one 5

您需要做的就是使用reactor.listenSSL而不是reactor.listenTCP. http://twistedmatrix.com/documents/current/core/howto/ssl.html涵盖了基础知识reactor.listenSSL.