1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Allow setting ip_type for TCP/UDP and HTTP classes

This commit is contained in:
Fabio Alessandrelli
2016-12-01 09:01:09 +01:00
parent c18c5013f8
commit a77a0118f6
10 changed files with 31 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ protected:
static void _bind_methods();
public:
virtual void set_ip_type(IP::Type p_type);
Error request(const String& p_url, const Vector<String>& p_custom_headers=Vector<String>(), bool p_ssl_validate_domain=true, HTTPClient::Method p_method=HTTPClient::METHOD_GET, const String& p_request_data=""); //connects to a full url and perform request
void cancel_request();
HTTPClient::Status get_http_client_status() const;