UrlTemplate Module
Functions and values
Function or value | Description |
Full Usage:
UrlTemplate.ofString template
Parameters:
string
-
The string to parse into a URL template
Returns: Result<UrlTemplate, string>
A URL template if the string is a valid URL template
or a string with the error message if the string is not a valid URL template
|
|
Full Usage:
UrlTemplate.toUrl template routeParams
Parameters:
string
-
The URL template to convert into a URL
routeParams : IReadOnlyDictionary<string, obj>
-
The parameters to use to convert the URL template into a URL
Returns: Result<string, string list>
A string with the URL if the parameters are valid
or a list of string with the error messages if the parameters are not valid
|
|