uriTemplateEncodeTo

private fnvoid uriTemplateEncodeTo(R)(string s, bool allowReserved, ref R dst) @safe

Write URI Template-encoded representation of s to dst.

Parameters

sInput string.
allowReservedIf true, allow reserved characters (RFC 6570 `+` / `#`).
dstOutput range receiving encoded bytes.