diff options
Diffstat (limited to 'core')
-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(); |