api

http4k / org.http4k.template.dust / Dust

Dust

class Dust (source)

Constructors

Name Summary
<init> Dust(cacheTemplates: Boolean, precachePoolSize: Int, dustPluginScripts: List<URL>, loader: TemplateLoader)

Functions

Name Summary
openTemplates fun openTemplates(): TemplateExpansionService
withTemplates fun <T> withTemplates(block: (TemplateExpansion) -> T): T

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T