ktor
1.6.x
Select version
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
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