Function 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.

Prototype

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

Authors

Sönke Ludwig

Copyright

© 2013-2015 RejectedSoftware e.K.

License

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