isInDebugMode()
→ bool
See also |
Houdini 20.5 Python scripting hou hou.webServer
Returns True if Houdini’s web server was started in debug mode debug=True
in hou.webServer.run())
isInDebugMode()
→ bool
See also |
A request made to Houdini’s web server.
A response made back from Houdini’s web server.
A file uploaded in a request made to Houdini’s web server.
Starts Houdini’s web server.
hou.webServer.requestShutdown()
Tells Houdini’s web server to shut down after serving all open requests.
Returns True if Houdini’s web server was started in debug mode debug=True in )
Decorator for functions that handle requests to Houdini’s web server.
Generates a Response object representing an HTTP error.
hou.webServer.notFoundResponse()
Generates a Response object representing a 404 Not Found HTTP error.
Generates a Response object that sends the contents of a file.
Generates a Response object representing a 301 Moved or 302 Found HTTP response.
hou.webServer.registerStaticFilesDirectory()
Tells Houdini’s web server to check the given directory for files to automatically serve for URLs that match the given path prefix.
hou.webServer.registerOpdefPath()
Tells Houdini’s web server to use the specified prefix as a handler to serve opdef requests.
Decorator for functions that can be called through an API endpoint on Houdini’s web server, returning JSON or binary responses.
Raise this exception in apiFunction handlers to indicate an error.