Answer the question
In order to leave comments, you need to log in
Swift and URLSession is it possible to send multiple POST/GET requests at the same time?
Hello, a couple of days ago, I discovered a new app language.
Interested in such a question, is it possible to send several requests at the same time and how to prepare them ?
Answer the question
In order to leave comments, you need to log in
Maximum asynchronous tasks - 9.
Download files. Only from personal experience (did a twitter client), depends on the file size. It is advisable to determine the type of connection - WIFI (LTE) or 2G-3G and set the coefficient. For LTE (WIFI), download from Twitter:
- files 0-150Kb in 3, maximum 5 streams;
- files 150-500Kb in 2, maximum 3 streams;
- more than 500Kb in one stream.
I did it through a block, not a delegate, it's easier to make a reverse counter.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question