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 /doc/classes | |
parent | a512edcfb9cfff28689f526b6954087b3b596211 (diff) | |
parent | c09ea8d45acdf02df30b658408137f2ca7be2533 (diff) |
Merge pull request #47257 from timothyqiu/http-client-proxy
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/HTTPClient.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/HTTPClient.xml b/doc/classes/HTTPClient.xml index a50983853d..e15b065744 100644 --- a/doc/classes/HTTPClient.xml +++ b/doc/classes/HTTPClient.xml @@ -173,6 +173,24 @@ Sends the body data raw, as a byte array and does not encode it in any way. </description> </method> + <method name="set_http_proxy"> + <return type="void" /> + <argument index="0" name="host" type="String" /> + <argument index="1" name="port" type="int" /> + <description> + Sets the proxy server for HTTP requests. + The proxy server is unset if [code]host[/code] is empty or [code]port[/code] is -1. + </description> + </method> + <method name="set_https_proxy"> + <return type="void" /> + <argument index="0" name="host" type="String" /> + <argument index="1" name="port" type="int" /> + <description> + Sets the proxy server for HTTPS requests. + The proxy server is unset if [code]host[/code] is empty or [code]port[/code] is -1. + </description> + </method> </methods> <members> <member name="blocking_mode_enabled" type="bool" setter="set_blocking_mode" getter="is_blocking_mode_enabled" default="false"> |