Module Uritemplate
module Template : sig ... endmodule Parser : sig ... endmodule Expansion : sig ... endmodule Expansion_type : sig ... endtype variable=[|`String of string|`List of string list|`Assoc of (string * string) list]The type of a variable that can be templated
val template_uri : template:string -> variables:(string * variable) list -> stringTemplates the given string using the provided variables. Compliant to level 4. See RFC6570
val template_uri_with_strings : template:string -> variables:(string * string) list -> stringA shorthand for template_uri when all variables are single strings