diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-03-04 11:09:45 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-03-04 11:10:48 -0300 |
commit | 5a9b18b665b250b54c0d8eb80354dc08e363377c (patch) | |
tree | f9680072f12800b2ae85090562fb3d7062ea59b2 /core/io | |
parent | 3fc80f65cd26122fed771a149c2e583a8139e4ce (diff) |
-Work on addon editor plugin (disabled by default)
-New HTTPRequest node, to make HTTP requests simpler.
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/http_client.cpp | 4 | ||||
-rw-r--r-- | core/io/http_client.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp index b070e52f0a..dd53c8f8eb 100644 --- a/core/io/http_client.cpp +++ b/core/io/http_client.cpp @@ -31,10 +31,6 @@ VARIANT_ENUM_CAST(HTTPClient::Status); -Error HTTPClient::connect_url(const String& p_url) { - - return OK; -} Error HTTPClient::connect(const String &p_host, int p_port, bool p_ssl,bool p_verify_host){ diff --git a/core/io/http_client.h b/core/io/http_client.h index e138681396..e795646c70 100644 --- a/core/io/http_client.h +++ b/core/io/http_client.h @@ -164,7 +164,7 @@ private: public: - Error connect_url(const String& p_url); //connects to a full url and perform request + //Error connect_and_get(const String& p_url,bool p_verify_host=true); //connects to a full url and perform request Error connect(const String &p_host,int p_port,bool p_ssl=false,bool p_verify_host=true); void set_connection(const Ref<StreamPeer>& p_connection); @@ -192,7 +192,7 @@ public: Error poll(); - String query_string_from_dict(const Dictionary& p_dict); + String query_string_from_dict(const Dictionary& p_dict); HTTPClient(); ~HTTPClient(); |