aboutsummaryrefslogtreecommitdiff
path: root/scene/main/http_request.h
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-02 19:12:25 -0300
committerJuan Linietsky2017-01-02 19:12:25 -0300
commitce26eb74bca48f16e9a34b4eb1c34e50dfc5daae (patch)
tree5f9c387037d0142d40f7275575436483dc0a7237 /scene/main/http_request.h
parentab4126f51061277e87b41c48b40e7b54942d4eca (diff)
parent45c5c89de961357a7042d9e1f063e288d7a510cf (diff)
downloadgodot-ce26eb74bca48f16e9a34b4eb1c34e50dfc5daae.tar.gz
godot-ce26eb74bca48f16e9a34b4eb1c34e50dfc5daae.tar.zst
godot-ce26eb74bca48f16e9a34b4eb1c34e50dfc5daae.zip
Diffstat (limited to 'scene/main/http_request.h')
-rw-r--r--scene/main/http_request.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/main/http_request.h b/scene/main/http_request.h
index 705799f04..5bf47111e 100644
--- a/scene/main/http_request.h
+++ b/scene/main/http_request.h
@@ -5,7 +5,7 @@
/* GODOT ENGINE */
/* http://www.godotengine.org */
/*************************************************************************/
-/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */
+/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -116,6 +116,7 @@ protected:
static void _bind_methods();
public:
+ void set_ip_type(IP::Type p_type);
Error request(const String& p_url, const Vector<String>& p_custom_headers=Vector<String>(), bool p_ssl_validate_domain=true, HTTPClient::Method p_method=HTTPClient::METHOD_GET, const String& p_request_data=""); //connects to a full url and perform request
void cancel_request();
HTTPClient::Status get_http_client_status() const;