ktor
1.6.8
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
ktor-server-core
/
io.ktor.routing
/
optionalParam
optional
Param
fun
Route
.
optionalParam
(
name
:
String
,
build
:
Route
.
(
)
->
Unit
)
:
Route
Content copied to clipboard
Builds a route to optionally capture parameter with specified
name
, if it exists