1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Allow setting ip_type for TCP/UDP and HTTP classes

(cherry picked from commit a77a0118f6)
This commit is contained in:
Fabio Alessandrelli
2016-12-01 09:01:09 +01:00
parent e8a6cbc897
commit 7ef71b9013
10 changed files with 31 additions and 0 deletions

View File

@@ -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();