Roberto P. Well-Known Member Licensed User Longtime User Mar 10, 2015 #1 how can I increase time to put an object httpjob? Use this object to send data to a server that uses made B4J RAF. Dim j As HttpJob j.Initialize("send_data", Me) Thanks
how can I increase time to put an object httpjob? Use this object to send data to a server that uses made B4J RAF. Dim j As HttpJob j.Initialize("send_data", Me) Thanks
DonManfred Expert Licensed User Longtime User Mar 10, 2015 #2 Put B4X: j.GetRequest.Timeout = 60000 AFTER you started the download/Poststring B4X: Dim j As HttpJob j.Initialize("send_data", Me) j.download(url) j.GetRequest.Timeout = 60000 Upvote 0
Put B4X: j.GetRequest.Timeout = 60000 AFTER you started the download/Poststring B4X: Dim j As HttpJob j.Initialize("send_data", Me) j.download(url) j.GetRequest.Timeout = 60000
Roberto P. Well-Known Member Licensed User Longtime User Mar 10, 2015 #3 hello DonManfred I thank you, but I get an error: Error compiling program. Error description: Unknown type: anywheresoftware.b4a.http.HttpClientWrapper.HttpUriRequestWrapper Are you missing a library reference? Occurred on line: 60 j.GetRequest.Timeout = 60000 Word: timeout which library I have to add? I found no indication in the forum thank you Upvote 0
hello DonManfred I thank you, but I get an error: Error compiling program. Error description: Unknown type: anywheresoftware.b4a.http.HttpClientWrapper.HttpUriRequestWrapper Are you missing a library reference? Occurred on line: 60 j.GetRequest.Timeout = 60000 Word: timeout which library I have to add? I found no indication in the forum thank you
KZero Active Member Licensed User Longtime User Mar 10, 2015 #4 use DonManfred code and just Enable HTTP library Upvote 0
Roberto P. Well-Known Member Licensed User Longtime User Mar 10, 2015 #5 I selected the HTTP library and it works. thank you Upvote 0