urlEncode

Writes to the OutputRange an URL encoded string as specified in RFC 3986 section 2

  1. void urlEncode(R dst, T map)
    void
    urlEncode
    (
    R
    T
    )
    (
    auto ref R dst
    ,
    T map
    )
    if (
    isFormMap!T &&
    isOutputRange!(R, char)
    )
  2. string urlEncode(T map)
  3. string urlEncode(T map)

Parameters

dst R

The destination OutputRange where the resulting string must be written to.

map T

An iterable key-value map iterable with foreach(string key, string value; map).

Meta