vibe.d beta banner
get vibe.d
0.10.0

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

Function urlEncode

T[] urlEncode(T) (
  T[] str,
  const(char)[] allowed_chars = null
)
if (is(T[] : const(char)[]));

Returns

the URL encoded version of a given string, in a newly-allocated string.

Authors

Jan Krüger, Sönke Ludwig

Copyright

© 2012-2015 Sönke Ludwig

License

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