- Source:
Classes
Methods
-
<static> TemplateHandler.create(engine, templateDirectory, contentType) → {TemplateHandler}
-
Create a handler
Parameters:
Name Type Description engineTemplateEngine the template engine templateDirectorystring the template directory where templates will be looked for contentTypestring the content type header to be used in the response - Source:
Returns:
the handler- Type
- TemplateHandler