vibe.d beta banner
get vibe.d
0.7.30

urlEncode - multiple declarations

  • Function urlEncode
  • Function urlEncode

Function urlEncode

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

Prototype

void urlEncode(R, T)(
  ref R dst,
  T map
)
if (isFormMap!T);

Parameters

NameDescription
dst The destination OutputRange where the resulting string must be written to.
map An iterable key-value map iterable with foreach(string key, string value; map).

Function urlEncode

Returns an URL encoded string as specified in RFC 3986 section 2

Prototype

string urlEncode(T)(
  T map
)
if (isFormMap!T);

Parameters

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

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.