Function render
Renders the given template and makes all ALIASES available to the template.
This currently suffers from multiple DMD bugs - use renderCompat() instead for the time being.
You can call this function as a member of HTTPServerResponse
using D's uniform function call syntax.
Prototype
void render(string template_file, ALIASES...)(HTTPServerResponse res)( HTTPServerResponse res );
Examples
string title = "Hello, World!"; int pageNumber = 1; res.render!("mytemplate.jd", title, pageNumber);
Authors
Sönke Ludwig, Jan Krüger
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.