M Markos Active Member Licensed User Longtime User Dec 11, 2022 #1 Hi All, I was wondering in the case of httpjob type object is there a default timeout that would trigger an event or assign a value to an error property so we can manage when a call response is slow or absent?
Hi All, I was wondering in the case of httpjob type object is there a default timeout that would trigger an event or assign a value to an error property so we can manage when a call response is slow or absent?
Erel B4X founder Staff member Licensed User Longtime User Dec 11, 2022 #2 There is a timeout but it isn't in Wait For. It is in the httpjob. Upvote 0
M Markos Active Member Licensed User Longtime User Dec 12, 2022 #3 Erel said: There is a timeout but it isn't in Wait For. It is in the httpjob. Click to expand... Great! I don't see that property in the list of properties that show up for httpjob Upvote 0
Erel said: There is a timeout but it isn't in Wait For. It is in the httpjob. Click to expand... Great! I don't see that property in the list of properties that show up for httpjob
Erel B4X founder Staff member Licensed User Longtime User Dec 12, 2022 #4 B4X: Dim j As HttpJob ... j.Download(...) 'or any other method j.GetRequest.Timeout = 60000 Wait For (j) JobDone(j As HttpJob) Upvote 0
B4X: Dim j As HttpJob ... j.Download(...) 'or any other method j.GetRequest.Timeout = 60000 Wait For (j) JobDone(j As HttpJob)