Difference between revisions of "THttpCli.FAQ.Timeout"

From Overbyte
Jump to navigation Jump to search
m (THttpCli:FAQ:Timeout moved to THttpCli.FAQ.Timeout)
 
Line 1: Line 1:
 
* Method 1
 
* Method 1
  
Use a TTimer. You start it when you are executing your request and disable from [http://wiki.overbyte.be/wiki/index.php/THttpCli:OnRequestDone OnRequestDone]. In the TTimer.OnTimer event you should call [http://wiki.overbyte.be/wiki/index.php/THttpCli:Abort THttpCli.Abort] when timeout is passed.
+
Use a TTimer. You start it when you are executing your request and disable from [[THttpCli.OnRequestDone | OnRequestDone]]. In the TTimer.OnTimer event you should call [[THttpCli.Abort | Abort]] when timeout is passed.

Latest revision as of 10:51, 19 February 2006

  • Method 1

Use a TTimer. You start it when you are executing your request and disable from OnRequestDone. In the TTimer.OnTimer event you should call Abort when timeout is passed.