ktor
2.2.4
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
jvmAndNix
ktor-server-status-pages
/
io.ktor.server.plugins.statuspages
/
StatusPagesConfig
/
status
status
jvmAndNix
fun
status
(
vararg
status
:
HttpStatusCode
,
handler
:
suspend
(
ApplicationCall
,
HttpStatusCode
)
->
Unit
)
@
JvmName
(
name
=
"statusWithContext"
)
fun
status
(
vararg
status
:
HttpStatusCode
,
handler
:
suspend
StatusPagesConfig.StatusContext
.
(
HttpStatusCode
)
->
Unit
)
Register a status
handler
for the
status
code.