mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Allow setting ip_type for TCP/UDP and HTTP classes
(cherry picked from commit a77a0118f6)
This commit is contained in:
parent
e8a6cbc897
commit
7ef71b9013
10 changed files with 31 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue