Instance Method
render(path:context:)
Populate the template at
path with the data from context.func render(path: String, context: some Encodable) -> EventLoopFuture<ByteBuffer>
Parameters
pathThe name of the template to render.
contextContextual data to render the template with.
Return Value
The serialized bytes of the rendered template.