diff options
| author | Fabio Alessandrelli | 2016-12-01 09:01:09 +0100 |
|---|---|---|
| committer | Fabio Alessandrelli | 2016-12-09 18:24:59 +0100 |
| commit | a77a0118f6b0d0878a53e2c963d91763b311163d (patch) | |
| tree | 159cbc303043c429cfdbe6f9cd4498bbde15ec46 /core/io/http_client.cpp | |
| parent | c18c5013f837ea7d4de2f022d36f84e0abce6439 (diff) | |
| download | godot-a77a0118f6b0d0878a53e2c963d91763b311163d.tar.gz godot-a77a0118f6b0d0878a53e2c963d91763b311163d.tar.zst godot-a77a0118f6b0d0878a53e2c963d91763b311163d.zip | |
Diffstat (limited to 'core/io/http_client.cpp')
| -rw-r--r-- | core/io/http_client.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp index c9c674d4f..24314e3a1 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(); |
