summaryrefslogtreecommitdiffstats
path: root/core/io/http_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/http_client.cpp')
-rw-r--r--core/io/http_client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp
index c9c674d4f0..24314e3a1a 100644
--- a/core/io/http_client.cpp
+++ b/core/io/http_client.cpp
@@ -29,6 +29,10 @@
#include "http_client.h"
#include "io/stream_peer_ssl.h"
+void HTTPClient::set_ip_type(IP::Type p_type) {
+ tcp_connection->set_ip_type(p_type);
+}
+
Error HTTPClient::connect(const String &p_host, int p_port, bool p_ssl,bool p_verify_host, IP::Type p_addr_type){
close();