httputlis

caillaud

Member
Licensed User
Longtime User
Hi
is it possible to modify the time out (increase it because the net is very busy and slow)
thanks in advance
michel
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Yes. The request is created in HttpUtilsService.ProcessNextTask.
You can add the timeout there:
B4X:
If Post Then
   If PostInputStream.IsInitialized Then
      req.InitializePost(link, PostInputStream, PostLength)
   Else
      req.InitializePost2(link, PostBytes)
   End If
Else
   req.InitializeGet(link)
End If
req.Timeout = 60000 '<-- new line
 
Upvote 0
Top