UrlEncoded.encode

Encode MultiMap with % encoding.

@param map the map to encode @param charset the charset to use for encoding (uses default encoding if null) @param equalsForNullValue if True, then an '=' is always used, even for parameters without a value. e.g. <code>"blah?a=&amp;b=&amp;c="</code>. @return the MultiMap as a string encoded with % encodings.

  1. string encode()
  2. string encode(string charset)
  3. string encode(string charset, bool equalsForNullValue)
  4. string encode(MultiMap!string map, string charset, bool equalsForNullValue)
    class UrlEncoded
    static
    string
    encode
    (
    MultiMap!string map
    ,
    string charset
    ,)

Meta