api

http4k / org.http4k.template / kotlin.Function1

Extensions for kotlin.Function1

Name Summary
renderToResponse Convenience method for generating a Response from a view model.fun TemplateRenderer.renderToResponse(viewModel: ViewModel, status: Status = OK, contentType: ContentType = TEXT_HTML): Response
then Compose a TemplateRenderer with another, so you can fall back.fun TemplateRenderer.then(that: TemplateRenderer): TemplateRenderer