Renders the template at
.uri
Renders the template at
.
uri
URI to the template
specific to the configured template engine
Called once when Xitrum server starts.
Called once when Xitrum server starts. If necessary the template engine should allocate its resources here.
Called once when Xitrum server stops.
Called once when Xitrum server stops. If necessary the template engine should release its resources here.
Template engines should extend this trait and implement its methods. On startup, an instance of the configured template engine is created and used for every rendering request. Thus it should be thread-safe.