WebTemplateEngine

WebTemplateEngine

Minimalistic template engine replace token by file content (as old Apache module SSI)

Constructor

new WebTemplateEngine()

Source:

Methods

process(data)

Source:

To replace token by the corresponding file content before to send the HTTP response to the client.

Token should take the form

Parameters:
Name Type Description
data *