SsrController

@Controller(value = "/")
open class SsrController

Server-Side Rendering controller.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@Inject
lateinit var ssrEngine: SsrEngine

Functions

Link copied to clipboard
@Produces(value = ["text/html"])
@Get(value = "/index.html")
suspend fun index(request: HttpRequest<*>): HttpResponse<String>
Link copied to clipboard
@Produces(value = ["text/html"])
@Get(value = "/")
suspend fun root(request: HttpRequest<*>): HttpResponse<String>