chained proxy in delphi -
i read chaining proxies , wanted try in delphi, played around indy tidhttp component , couldnt figure out how it, need 2 tidhttp components? maybe 1 sends request another?
http1.proxyparams.proxyport := port1; http1.proxyparams.proxyserver := server1; http2.proxyparams.proxyport := port2; http2.proxyparams.proxyserver := server2; i want send simple get/post chained proxies.
is doable? or there other component me task?
thank you.
the tidhttp.proxyparams property not support chaining.
to use chained proxies, need to:
assign
tidiohandlersocket-derived componenttidhttp.iohandlerproperty. either:a.
tidiohandlerstack, indy's standard tcp/ip implementation.b.
tidssliohandlersocketbase-derived component, suchtidssliohandlersocketopenssl. must use if want work https urls.assign
tidcustomtransparentproxy-derived component iohandler'stransarentproxyproperty. indy provides 2 such components default:a.
tidsocksinfo, implements socks 4/4a/5 protocols.b.
tidconnectthroughhttpproxy, implements httpconnectverb.chain multiple
tidcustomtransparentproxy-derived components viatidcustomtransparentproxy.chainedproxyproperty.
Comments
Post a Comment