Difference between revisions of "THttpCli.FAQ.Timeout"
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 [ | + | 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.