From 5c7e9e7e633088fae7e9c9e30c3814a1b2a7207c Mon Sep 17 00:00:00 2001 From: Aren Villanueva Date: Wed, 18 Nov 2015 22:33:29 +1100 Subject: 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. --- core/io/http_client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/io/http_client.h') diff --git a/core/io/http_client.h b/core/io/http_client.h index 21281f38c5..b103dc43fc 100644 --- a/core/io/http_client.h +++ b/core/io/http_client.h @@ -192,6 +192,8 @@ public: Error poll(); + String query_string_from_dict(const Dictionary& p_dict); + HTTPClient(); ~HTTPClient(); }; -- cgit v1.2.3