THttpCli.FAQ.Timeout

From Overbyte
Jump to navigation Jump to search
  • 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.