def main():
host = CONF.host
port = CONF.api_port
# Create the WSGI application object.
wsgi_application = wsgi_app.setup_app()
# Create the Simple process server.
server = simple_server.make_server(host, port, wsgi_application)
server.serve_forever()
评论列表
文章目录