Board index » delphi » connect to proxy in Indy TIdHttp (9.0)

connect to proxy in Indy TIdHttp (9.0)

I use component TIdHttp (8.0) for connections to proxy:
    .......
    HTTP.SocksInfo.Version := svSocks4;
    or
    HTTP.SocksInfo.Version := svSocks4A;
    or
    HTTP.SocksInfo.Version := svSocks5;
    ......
  Then I install TIdHttp (9.0) and occur error.
  How I can use proxy in this version?
 

Re:connect to proxy in Indy TIdHttp (9.0)


you'll need to use:
    TIdHTTP, tab indy Clients
    TIdIOHandlerSocket, tab indy io handlers
    TIdSocksInfo, tab indy Misc

connect them together, and set the properties of  TIdSocksInfo

--

Bas Gooijen

Quote
"Yuri Saveliev" <sv_y...@mail.ru> wrote in message news:3d33c025_2@dnews...
> I use component TIdHttp (8.0) for connections to proxy:
>     .......
>     HTTP.SocksInfo.Version := svSocks4;
>     or
>     HTTP.SocksInfo.Version := svSocks4A;
>     or
>     HTTP.SocksInfo.Version := svSocks5;
>     ......
>   Then I install TIdHttp (9.0) and occur error.
>   How I can use proxy in this version?

Re:connect to proxy in Indy TIdHttp (9.0)


Quote
> you'll need to use:
>     TIdHTTP, tab indy Clients
>     TIdIOHandlerSocket, tab indy io handlers
>     TIdSocksInfo, tab indy Misc

> connect them together, and set the properties of  TIdSocksInfo

ok, thanks.

If I want to use HTTP-proxy?

Need I use TIdHTTP.ProxyParams?
This's right?

Re:connect to proxy in Indy TIdHttp (9.0)


yes, that is right

--

Bas Gooijen

Other Threads