httpclient and http request

Nickelgrass

Active Member
Licensed User
Longtime User
Hi!
I have an app with one httpclient. In different subs I execute several httprequests. It seems that these requests are not actually finished in the order they were launched. That is basically not a problem. But:
My question is if there is any way to find out if all http requests from my httpclient have finished.
Thanks!
Regards!
 

stefanobusetto

Active Member
Licensed User
Longtime User
you can assign each request a different id
then in the request success/error event you know which
are completed (and which not)
 
Upvote 0

Nickelgrass

Active Member
Licensed User
Longtime User
Hi, thanks for the reply.
I know how to use the httpclient. My question is if there is a posibility to find out if all requests have finished. I could not find a httpclient.finished or something similar. The sucsess/error event doesnt tell me when all requests have finished.
 
Upvote 0

stefanobusetto

Active Member
Licensed User
Longtime User
no as far as i know
i had the same problem
so i wrote some sort of class to launch
a list of request each starting when the previous finishes
 
Upvote 0
Top