SimpleURITemplate¶
A very simple URI Template handler. It only handles path segments.
Handling is very primitive and likely to result in errors if non-ASCII or
special characters like /
are involved in the expanded variables.
This is sufficient for working with most GitHub REST API URI templates and probably nothing more.
Should handle but currently does not, removing template values for which there is no expansion.
Constructors¶
create¶
Returns¶
- SimpleURITemplate val^
Public Functions¶
apply¶
fun box apply(
template: String val,
values: Array[(String val , String val)] val)
: (String val | ParseError val)
Parameters¶
Returns¶
- (String val | ParseError val)
eq¶
Parameters¶
- that: SimpleURITemplate val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SimpleURITemplate val
Returns¶
- Bool val