Fork me on GitHub

Module ringo/webapp

Functions


getConfig (configModuleName)

Try to load the configuration module.

Parameters

configModuleName optional module name, default is 'config'

getServer ()

Get the server instance.


handleRequest (env)

Handler function called by the JSGI servlet.

Parameters

env the JSGI environment argument

start (moduleId)

Start the web server using the given config module, or the default "config" module if called without argument.

Parameters

moduleId

stop ()

Stop the web server.