I have a Http_job, the bare bones of the relevant code to execute it are:
Occasionally this hangs on the Wait For - I am assuming it is timing out.
How do I detect this?
Thanks...
B4X:
Private XXX_job As Http_Job
XXX_job.Initialize("List", Me)
wrk_URI stuff here
XXX_job.Download(wrk_URI)
XXX_job.GetRequest.Timeout = 30 * DateTime.TicksPerSecond 'I know this is the default
wrk_Authorization stuff here
XXX_job.GetRequest.SetHeader("Authorization", wrk_Authorization)
Wait For (XXX_job) JobDone (Job As Http_Job)
Occasionally this hangs on the Wait For - I am assuming it is timing out.
How do I detect this?
Thanks...
Last edited: