formEncode

Encodes a Key-Value map into a form URL encoded string.

Returns an application/x-www-form-urlencoded MIME formatted string, ie. all spaces ' ' are replaced by the '+' character

  1. void formEncode(R dst, T map, char sep)
  2. string formEncode(T map, char sep)
  3. string formEncode(T map, char sep)
    string
    formEncode
    (
    T : DictionaryList!Args
    Args...
    )
    (
    T map
    ,
    char sep = '&'
    )

Parameters

map T

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

sep char

A valid form separator, common values are '&' or ';'

Meta