%SYS
WSGI Class Reference

The dedicated dispatch class for all WSGI applications Dispatches to Python after setting up environment variables necessary for WSGI applications. More...

Inheritance diagram for WSGI:
Collaboration diagram for WSGI:

Static Public Member Functions

_.Library.Status CreateApp (_.Library.String appName)
 The dedicated dispatch class for all WSGI applications Dispatches to Python after setting up environment variables necessary for WSGI applications. More...
 
_.Library.Status DispatchREST (_.Library.String PathInfo, _.Library.String appPath, _.Library.String appName, _.Library.String callable)
 This method dispatches calls to a WSGI application.
 
_.Library.Status OnPreDispatch (_.Library.String pUrl, _.Library.String pMethod, _.Library.Boolean pContinue)
 This overrides CSP.REST's OnPreDispatch to instead use DispatchRest for WSGI applications.
 
_.Library.Status ServeStaticFile (_.Library.String pPath)
 This method deals with serving static files only when WSGI static file serve is enabled.
 

Detailed Description

The dedicated dispatch class for all WSGI applications Dispatches to Python after setting up environment variables necessary for WSGI applications.

Member Function Documentation

◆ CreateApp()

_.Library.Status CreateApp ( _.Library.String  appName)
static

The dedicated dispatch class for all WSGI applications Dispatches to Python after setting up environment variables necessary for WSGI applications.

This method can be called from the command line to automatically create a simple flask application served by IRIS.