fabriciocolombo / delphi-rest-client-api

A Delphi REST client API to consume REST services written in any programming language.
Apache License 2.0
380 stars 182 forks source link

Proxy Issue with Indy connection #100

Open mgalletti opened 6 years ago

mgalletti commented 6 years ago

Connection attempt through a proxy ends with timout error. I'm using Indy connection type. Issue #30 states the WinHTTP case has already been handled. Are there any chances to make it work with Indy too?

I've managed the case using TIdHTTP simply by assigning the ProxyParams property.

code example:

var
  LHTTP: TIdHTTP;
begin
  [...]
  LHTTP.ProxyParams.Assign(TIdProxyConnectionInfo.Create);

Is it possible to handle this property through TRestClient?