Unsolved Check status of multiple urls (concurrent)
-
I have a
QMap<QString, QUrl>
and I wanted to do aHEAD
request in all of them (concurrently) and check if the returnedcontent-type
is a video.I was wondering, how can I do this and in a concurrently way?
-
@zefex Using https://doc.qt.io/qt-5/qnetworkaccessmanager.html
It is assynchronous and you can do as many requests in parallel as you like. -
Hi,
To add to @jsulm, while you can start as many request as you want, only 6 will be run concurrently. The other will be queued and processed as soon as possible.