03-08-2013 05:59 AM - edited 03-08-2013 06:02 AM
I use a priority_queue (in a separate thread) for prioritizing my data requests (e.g. thumbnail images first, then larger images, unless the user wants a specific larger image, then that request is expedited) and JSON API calls.
If I use QNetworkAccessManager as it is and dump requests into it, it won't handle higher priority requests. I would like to do synchronous traffic. Is there a way to do this with QNetworkAccessManager, or is there some other alternative way to do this that you recommend?
Solved! Go to Solution.
03-09-2013 03:18 AM - edited 03-09-2013 03:27 AM
03-11-2013 03:34 AM
In case someone else ends up here with the same question, I ended up using cURL instead. (It's included with the ndk, just #include<curl/curl.h> and put LIBS += -lcurl inyour .pro file.) Works great.