1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/HTTPClient/SetProxy.txt
Vitaly the Alpaca (bot) 709cfe0407 Main build (Jenkins)
2025-09-23 15:45:00 +03:00

13 lines
374 B
Plaintext
Vendored

URL = "http://localhost:2424";
URL = URL + "/get";
ProxySettings = New InternetProxy;
ProxySettings.Set("https", "proxy.com", 443, "user", "password", False);
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.SetURL(URL)
.SetProxy(ProxySettings) // <---
.ProcessRequest("GET", False)
.ReturnConnection();