WebController.getByIndex

Gets a value from the route's parameters by index.

class WebController(TView)
final
T
getByIndex
(
T
)
(
size_t index
,
T defaultValue = T.init
)

Parameters

index size_t

The index.

defaultValue T

The default value.

Return Value

Type: T

The value from the route's parameters if found, else the default value.

Meta