diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-06 13:30:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 13:30:53 +0100 |
commit | 608c9f820349ca13f017ea406c790d90729da837 (patch) | |
tree | ba7e7eba4318205b8fecee676aa673815ffab50e /core/io/http_client.h | |
parent | a512edcfb9cfff28689f526b6954087b3b596211 (diff) | |
parent | c09ea8d45acdf02df30b658408137f2ca7be2533 (diff) |
Merge pull request #47257 from timothyqiu/http-client-proxy
Diffstat (limited to 'core/io/http_client.h')
-rw-r--r-- | core/io/http_client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/io/http_client.h b/core/io/http_client.h index 718c3a905e..9bc0134a6a 100644 --- a/core/io/http_client.h +++ b/core/io/http_client.h @@ -192,6 +192,10 @@ public: virtual Error poll() = 0; + // Use empty string or -1 to unset + virtual void set_http_proxy(const String &p_host, int p_port); + virtual void set_https_proxy(const String &p_host, int p_port); + HTTPClient() {} virtual ~HTTPClient() {} }; |