vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

urlEncode - multiple declarations

Function urlEncode

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

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

string urlEncode(T, Args...) (
  T map
);

Parameters

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

Function urlEncode

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

void urlEncode(R, T) (
  auto ref R dst,
  T map
)
if (isFormMap!T && isOutputRange!(R, char));

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

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

string urlEncode(T, Args...) (
  T map
);

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 Sönke Ludwig

License

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