Android Question HttpUtils2 check web server

sorex

Expert
Licensed User
Longtime User
a regular download job would do

B4X:
 Dim dlj As HttpJob
dlj.Initialize("dlj",Me)
dlj.Download("http://192.168.x.x:51042")

Sub jobdone(job As HttpJob)
Try
   If job.Success Then
   else
   end if
Catch   
   Log(LastException)
End Try
      
job.Release
End Sub

Edit: this is the okHTTP method which should be used since the other one is outdated.
 
Upvote 0
Top