toggle menu
kilua-project
0.0.15
jvm
switch theme
search in API
kilua-ssr-server-micronaut
/
dev.kilua.ssr
/
SsrController
Ssr
Controller
@
Controller
(
value
=
"/"
)
open
class
SsrController
Server-Side Rendering controller.
Members
Constructors
Ssr
Controller
Link copied to clipboard
constructor
(
)
Properties
ssr
Engine
Link copied to clipboard
@
Inject
lateinit
var
ssrEngine
:
SsrEngine
Functions
index
Link copied to clipboard
@
Produces
(
value
=
[
"text/html"
]
)
@
Get
(
value
=
"/index.html"
)
suspend
fun
index
(
request
:
HttpRequest
<
*
>
)
:
HttpResponse
<
String
>
root
Link copied to clipboard
@
Produces
(
value
=
[
"text/html"
]
)
@
Get
(
value
=
"/"
)
suspend
fun
root
(
request
:
HttpRequest
<
*
>
)
:
HttpResponse
<
String
>