How to initiate multiple HTTP requests asynchronously?

I would like to quickly launch several HTTP requests after each other, without waiting for the previous response to arrive. I tried this using WebClient.UploadStringAsync , but this does not work. I would like to effectively implement the following scenario:

  • Send request 1
  • Send request 2
  • Send request 3

And in another thread:

  • Get an answer 1
  • Get an answer 2
  • Get an answer 3

Can this be done in Silverlight?

+3
source share
2 answers

I would like to quickly launch multiple HTTP requests after each other, without waiting for the answer from the previous answer

HTTP (, ) - . , Silverlight .

+4

, . , UploadStringAsync ?

, ASP.NET ( )?

, ASP.NET .

+2

Source: https://habr.com/ru/post/1728911/


All Articles