- Companion
- class
Value members
Concrete methods
Create a route with path segments only
Create a route with path segments only
Create a partial route with path segments only
Create a partial route with path segments only
In this version you can match only a subset of the Page type.
Make sure that the partiality of matchEncode
mirrors that of
decode
, otherwise you'll have a route that can match a page
but can not produce a url for that page (or vice versa).
- Value Params
- matchEncode
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Create a route with page data encoded in query params only
Create a route with page data encoded in query params only
Create a partial route with page data encoded in query params only
Create a partial route with page data encoded in query params only
In this version you can match only a subset of the Page type.
Make sure that the partiality of matchEncode
mirrors that of
decode
, otherwise you'll have a route that can match a page
but can not produce a url for that page (or vice versa).
- Value Params
- matchEncode
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Create a route with page data encoded in query params only
Create a route with page data encoded in query params only
Create a route with page data encoded in query params and fragment
Create a route with page data encoded in query params and fragment
Create a partial route with page data encoded in query params and fragment
Create a partial route with page data encoded in query params and fragment
In this version you can match only a subset of the Page type.
Make sure that the partiality of matchEncode
mirrors that of
decode
, otherwise you'll have a route that can match a page
but can not produce a url for that page (or vice versa).
- Value Params
- matchEncode
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Create a partial route with page data encoded in query params only
Create a partial route with page data encoded in query params only
In this version you can match only a subset of the Page type.
Make sure that the partiality of matchEncode
mirrors that of
decode
, otherwise you'll have a route that can match a page
but can not produce a url for that page (or vice versa).
- Value Params
- matchEncode
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Create a route for a static page that does not encode any data in the URL
Create a route for a static page that does not encode any data in the URL
Create a route with page data encoded in path segments and fragment
Create a route with page data encoded in path segments and fragment
Create a partial route with page data encoded in path segments and fragment
Create a partial route with page data encoded in path segments and fragment
In this version you can match only a subset of the Page type.
Make sure that the partiality of matchEncode
mirrors that of
decode
, otherwise you'll have a route that can match a page
but can not produce a url for that page (or vice versa).
- Value Params
- matchEncode
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Create a route with page data encoded in path segments and query params
Create a route with page data encoded in path segments and query params
Create a route with page data encoded in path segments, query params and fragment
Create a route with page data encoded in path segments, query params and fragment
Create a partial route with page data encoded in path segments, query params and fragment
Create a partial route with page data encoded in path segments, query params and fragment
In this version you can match only a subset of the Page type.
Make sure that the partiality of matchEncode
mirrors that of
decode
, otherwise you'll have a route that can match a page
but can not produce a url for that page (or vice versa).
- Value Params
- matchEncode
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.
Create a partial route with page data encoded in path segments and query params
Create a partial route with page data encoded in path segments and query params
In this version you can match only a subset of the Page type.
Make sure that the partiality of matchEncode
mirrors that of
decode
, otherwise you'll have a route that can match a page
but can not produce a url for that page (or vice versa).
- Value Params
- matchEncode
- convert a Page into args.
Any
because it can be called with pages of other routes.
- convert a Page into args.