de-deprecated urlencode()

This commit is contained in:
tastytea 2018-03-11 15:50:46 +01:00
parent d3193c08a0
commit 78df8fb941
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 2 additions and 3 deletions

View File

@ -244,6 +244,8 @@ public:
/*!
* @brief Percent-encodes a string. This is done automatically, unless you
* make a custom request.
*
* Calls curlpp::escape(str)
*
* The only time you should use this, is if you use
* get(const std::string &call, std::string &answer).
@ -253,9 +255,6 @@ public:
* @param str The string
*
* @return The percent-encoded string
*
* @deprecated You should use curlpp::escape instead. Will be removed in
* 1.0.0
*/
const std::string urlencode(const std::string &str) const;