PlainRoutingBuilder

A routing builder interface for given path routes.

Inheritors

Functions

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

Adds an action for the route.

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.() -> Unit)

Adds a view for the route.