summaryrefslogtreecommitdiffstats
path: root/core/ustring.h
diff options
context:
space:
mode:
authorAren Villanueva <arenvillanueva@yomogi-soft.com>2015-11-18 22:33:29 +1100
committerAren Villanueva <arenvillanueva@yomogi-soft.com>2015-11-19 22:01:42 +1100
commit5c7e9e7e633088fae7e9c9e30c3814a1b2a7207c (patch)
tree7fde4da8bd507cb9b78e7e7f30255356cfb73067 /core/ustring.h
parent36d620c633be55ac402892bce816d4a9b4d67bee (diff)
downloadredot-engine-5c7e9e7e633088fae7e9c9e30c3814a1b2a7207c.tar.gz
Fixes the make_doc.sh, <, > and & signs in descriptions that cause the parser to break.
Documentation for HTTPClient. Added a query_string_from_dict method to HTTPClient to create a x-www-form-urlencoded valid query string for GET and POST messages. String now has http_escape() and http_unescape() methods to help facilitate the above query_string_from_dict method.
Diffstat (limited to 'core/ustring.h')
-rw-r--r--core/ustring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/ustring.h b/core/ustring.h
index fa25a07eb0..2f3c4bff4d 100644
--- a/core/ustring.h
+++ b/core/ustring.h
@@ -207,6 +207,8 @@ public:
String xml_escape(bool p_escape_quotes=false) const;
String xml_unescape() const;
+ String http_escape() const;
+ String http_unescape() const;
String c_escape() const;
String c_unescape() const;
String world_wrap(int p_chars_per_line) const;