registerASGIApp(application=(), path=None, ports=[])
This function allows you to hook in a asgi capable application such as flask or django and use the Houdini web server as the server backend.
import os import hwebserver import testsite.asgi hwebserver.registerWSGIApp(testsite.asgi.application, "/") hwebserver.run(8000, debug=True)
Note
Currently HTTP is only supported and this feature is currently in Alpha.