Router¶
Mutable builder for registering LiveView routes.
Register paths with their factories, then call build() to freeze the
route table into an immutable Routes value that can be shared across
actors.
Constructors¶
create¶
Returns¶
- Router ref^
Public Functions¶
route¶
Register a path with a factory that creates the LiveView for that route.
Parameters¶
Returns¶
- None val
build¶
Freeze the route table into an immutable Routes value.
Returns¶
- Routes val