Hi,
i'm trying the following code:
import
httpclient
let myProxy = newProxy("http://ip:port")
let proxyClient = newHttpClient(proxy = myProxy)
let response = proxyClient.request("https://www.google.de/")
echo response.body
i get connection refused errors. Are there some low level procs which have to use instead?
Thx for any help :)
When trying different proxies i get different errors, sometimes it's unable to CONNECT or the connection is refused or i get a ProtocolError. I don't know if it's a configuration thing on the proxy side or if i have to use different methods.
If someone has an idea on how to investigate that further, please tell me :)