Async HTTP

jscoulter

Member
Licensed User
Longtime User
Hi.
I Have been doing some stuff with HTTP to request some JSON data from a service, but from the examples I have seen and worked with, I can execute an HTTP request (or rather I am) but I have to get the result in an event handler SUB.
I would really like to be able to get the data Asynchronously.

Something like:

Dim sResult as String
sResult = HttpClient1.Execute(oHTTP, 1)
MsgDlg(sResult,"")

a but link when you do an Ajax HTTP request. You can do Asynchronously or Synchronously.
Is this possible in B4A?

Jeremy
 

jscoulter

Member
Licensed User
Longtime User
DUH....yes you are right....I had it the wrong way round...it was nearly midnight local time when I did it....so thats my excuse :)

Ok, so its a no. Thats ok, I can deal with that. Just trying to minimize code as usual :)

Jeremy
 
Upvote 0
Top