summaryrefslogtreecommitdiff
path: root/core/io/http_client.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-10-26 14:32:51 +0200
committerGitHub <noreply@github.com>2016-10-26 14:32:51 +0200
commitc67e3a485dedae96b82c3356d5f45ab0509d7759 (patch)
tree748ab44c8ec645a8eee950991210bf6c620651d1 /core/io/http_client.h
parentc7f9d853e206c15981330af46cfd0a0fc43fc5ef (diff)
parent80e911647c5df21c5b6a06876f1d48e21cd1f5fc (diff)
Merge pull request #6925 from godotengine/ipv6
Adding IPv6 support
Diffstat (limited to 'core/io/http_client.h')
-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 32d2e72101..ba464c34c7 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;