Template render

Renders a Diet template file to the current HTTP response.

This function is equivalent to vibe.http.server.render, but implicitly writes the result to the response object of the currently processed request.

Note that this may only be called from a function/method registered using registerWebInterface.

Arguments

template render(string diet_file, ALIASES...);

Functions

Function name Description
render

Authors

Sönke Ludwig

Copyright

© 2013-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.