You've already forked godot
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user