aboutsummaryrefslogtreecommitdiff
path: root/core/io/http_client.h
diff options
context:
space:
mode:
authorAriel Manzur2016-10-19 18:49:41 -0300
committerFabio Alessandrelli2016-12-11 12:35:06 +0100
commit904285f4b47857f62aa687fde2c62bbc19cec962 (patch)
tree462d5672e82facd43fb187873398296aed4669ba /core/io/http_client.h
parent53fea7f196f642656b6620b27077512f990cd35e (diff)
downloadgodot-904285f4b47857f62aa687fde2c62bbc19cec962.tar.gz
godot-904285f4b47857f62aa687fde2c62bbc19cec962.tar.zst
godot-904285f4b47857f62aa687fde2c62bbc19cec962.zip
address type for http client
(cherry picked from commit 1c2ac490cf157402cac7f9dbc2a293d0c922def8)
Diffstat (limited to '')
-rw-r--r--core/io/http_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/http_client.h b/core/io/http_client.h
index 32d2e7210..ba464c34c 100644
--- a/core/io/http_client.h
+++ b/core/io/http_client.h
@@ -165,7 +165,7 @@ public:
//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);
+ Error connect(const String &p_host,int p_port,bool p_ssl=false,bool p_verify_host=true, IP_Address::AddrType p_addr_type = IP_Address::TYPE_ANY);
void set_connection(const Ref<StreamPeer>& p_connection);
Ref<StreamPeer> get_connection() const;