IntRoutingBuilder

A routing builder interface for numeric routes.

Inheritors

Functions

Link copied to clipboard
abstract fun action(action: suspend (Int) -> Unit)

Adds an action for the route with a numeric parameter.

Link copied to clipboard
abstract fun int(routingBuilder: IntRoutingBuilder.(IntRoutingContext) -> Unit)

Adds a route for a numeric path segment.

Link copied to clipboard
abstract fun meta(meta: Meta.() -> Unit)

Adds metadata for the given route.

Link copied to clipboard
abstract fun route(vararg path: String, routingBuilder: PlainRoutingBuilder.(RoutingContext) -> Unit)

Adds a route for the specified path.

Link copied to clipboard
abstract fun string(routingBuilder: StringRoutingBuilder.(StringRoutingContext) -> Unit)

Adds a route for a string path segment.

Link copied to clipboard
abstract fun view(view: @Composable IComponent.(Int) -> Unit)

Adds a view for the route with a numeric parameter.