aboutsummaryrefslogtreecommitdiff
path: root/scene/main/http_request.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli2017-01-18 12:47:12 +0100
committerFabio Alessandrelli2017-03-22 21:00:23 +0100
commitd9525082feb6165944082fb80ae7785b23a2250c (patch)
tree1191470efc7ecc96499a3eecbcfded56ebe670d8 /scene/main/http_request.cpp
parent0b9684a085f244210f166070a9589bdd70876196 (diff)
downloadgodot-d9525082feb6165944082fb80ae7785b23a2250c.tar.gz
godot-d9525082feb6165944082fb80ae7785b23a2250c.tar.zst
godot-d9525082feb6165944082fb80ae7785b23a2250c.zip
Diffstat (limited to 'scene/main/http_request.cpp')
-rw-r--r--scene/main/http_request.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp
index d977548d6..97832521c 100644
--- a/scene/main/http_request.cpp
+++ b/scene/main/http_request.cpp
@@ -28,10 +28,6 @@
/*************************************************************************/
#include "http_request.h"
-void HTTPRequest::set_ip_type(IP::Type p_type) {
- client->set_ip_type(p_type);
-}
-
void HTTPRequest::_redirect_request(const String &p_new_url) {
}
@@ -519,7 +515,6 @@ int HTTPRequest::get_body_size() const {
void HTTPRequest::_bind_methods() {
- ObjectTypeDB::bind_method(_MD("set_ip_type", "ip_type"), &HTTPRequest::set_ip_type);
ObjectTypeDB::bind_method(_MD("request", "url", "custom_headers", "ssl_validate_domain", "method", "request_data"), &HTTPRequest::request, DEFVAL(StringArray()), DEFVAL(true), DEFVAL(HTTPClient::METHOD_GET), DEFVAL(String()));
ObjectTypeDB::bind_method(_MD("cancel_request"), &HTTPRequest::cancel_request);