de-deprecated urlencode()
This commit is contained in:
parent
d3193c08a0
commit
78df8fb941
|
@ -244,6 +244,8 @@ public:
|
||||||
/*!
|
/*!
|
||||||
* @brief Percent-encodes a string. This is done automatically, unless you
|
* @brief Percent-encodes a string. This is done automatically, unless you
|
||||||
* make a custom request.
|
* make a custom request.
|
||||||
|
*
|
||||||
|
* Calls curlpp::escape(str)
|
||||||
*
|
*
|
||||||
* The only time you should use this, is if you use
|
* The only time you should use this, is if you use
|
||||||
* get(const std::string &call, std::string &answer).
|
* get(const std::string &call, std::string &answer).
|
||||||
|
@ -253,9 +255,6 @@ public:
|
||||||
* @param str The string
|
* @param str The string
|
||||||
*
|
*
|
||||||
* @return The percent-encoded 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;
|
const std::string urlencode(const std::string &str) const;
|
||||||
|
|
||||||
|
|
Reference in New Issue