Board index » delphi » Indy10: Throttling HTTP
Ladislav Prokopny
Delphi Developer |
Ladislav Prokopny
Delphi Developer |
Indy10: Throttling HTTP2007-01-30 10:54:09 PM delphi211 Hi, Could someone post a working piece of code which throttles IdHTTP1 bandwidth ? I CANNOT find any example with TIdInterceptThrottler (Indy 10). I'm trying this, but when I call IdHttp1.Post later, excepction is thrown. IdThrottler := TIdInterceptThrottler.Create(IdHttp1); IdThrottler.BitsPerSec := 64000; IdHTTP1.IOHandler := TIdIOHandler.Create(IdHTTP1); IdHTTP1.IOHandler.Intercept := TIdThrottler; Thanks, |
mhd.monir
Delphi Developer |
2007-03-25 03:33:43 AM
Re:Indy10: Throttling HTTP
On Jan 30, 4:54 pm, "Ladislav Prokopny" <XXXX@XXXXX.COM>writes:
QuoteHi, try IdThrottler .BitsPerSec := 64000; IdHTTP1.Intercept:=IdThrottler; IdHTTP1.Get........ Monir |