Explorar el Código

SSL support

master
JS00000 hace 1 año
padre
commit
29422edcc9
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. +7
    -0
      channel/wechatmp/wechatmp_channel.py

+ 7
- 0
channel/wechatmp/wechatmp_channel.py Ver fichero

@@ -15,6 +15,13 @@ from plugins import *
import traceback
import redis

# If using SSL, uncomment the following lines, and modify the certificate path.
# from cheroot.server import HTTPServer
# from cheroot.ssl.builtin import BuiltinSSLAdapter
# HTTPServer.ssl_adapter = BuiltinSSLAdapter(
# certificate='/ssl/cert.pem',
# private_key='/ssl/cert.key')

class WechatMPServer():
def __init__(self):
pass


Cargando…
Cancelar
Guardar