Android Question httpjob.timeout - what is default value?

moster67

Expert
Licensed User
Longtime User
Jut wondering what is the default value of the httpjob.timeout?

Another related question:

I have the following code:

B4X:
JOB_CheckForSomething.Download(URL_CheckForSomething)
JOB_CheckForSomething.GetRequest.Timeout = 4000

After setting the timeout-value in above code-snippet, will the default-value of timeout be reset after the job has been released?
 

DonManfred

Expert
Licensed User
Longtime User
try to log

B4X:
log(JOB_CheckForSomething.GetRequest.Timeout)
after
B4X:
JOB_CheckForSomething.Download
this should log the default-value....

After job is finished the default get back to it´s place... So you should do set the timeout on each new job i suppose
 
Upvote 0
Top