HTTP request serialization or chunking

You must Login before you can answer or comment on any questions.

I have situations where I need to make lots (say 50 to 100) HTTP requests "all at once". The responses vary, some are small JSON, but some are large documents and PDFs. Should I consider serialization or chunking of those requests? Or does Ti (or iOS) automatically handle some of that for me, and I could, for example, make all 100 HTTPClient requests inside a for-loop? I'd like to avoid resource problems, but don't want to do extra work if unnecessary.

2 Answers

50 requests at once? IMHO you need to reconsider the architecture of your app/backend.

Consider to create a downloads queue and a manager for this queue. Yeah, extra work.

— answered 11 months ago by Javier Rayon
answer permalink
1 Comment
  • There is a great little download manager in the Marketplace, reasonably priced, works very well if he goes that route..

    — commented 11 months ago by Stephen Feather

Your Answer

Think you can help? Login to answer this question!