StaticDsl
object StaticDsl
This is not meant to be imported by library-users; RouterConfigDsl is the entire library-user-facing facade & DSL.
Type members
Classlikes
final class DynamicRouteB[Page, Props, P <: Page, O](f: P => Action[Page, Props] => O) extends AnyVal
final class Route[A](pattern: Pattern, parseFn: Matcher => Option[A], buildFn: A => Path) extends RouteCommon[Route, A] with ForRoute[A]
A complete route.
A complete route.
class RouteB[A](val regex: String, val matchGroups: Int, val parse: Int => String => Option[A], val build: A => String) extends RouteCommon[RouteB, A] with ForRouteB[A]
A fragment of a route. Can be composed with other fragments.
A fragment of a route. Can be composed with other fragments.
- Value parameters:
- matchGroups
The number of matches that
regex
will capture.
- Companion:
- object
object RouteB