mood.server

Undocumented in source.

Members

Functions

serve
string serve(Document doc, string[] programOutput)

* Serve a Document. * * Called when a webpage is requested. When called, this executes the program first, before rendering out the page. After program executing the page is reconstructed using the output of the program execution. * * Params: * doc = The Document to serve. * programOutput = The output of the program exeuction that is used to re-construct the webpage. * Returns: String representation of the reconstructed webpage.

Meta