Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Do i need set QNetworkAccessManager on each http request , or one in asingletone



  • Hello all
    im using singleton http class that handle all the http/s requests.
    im setting QNetworkAccessManager once in the constructor. but i got to see some source codes that set the QNetworkAccessManager
    on each request. im confused here . im using Qt 4.8



  • You only need a single instance of QNetworkAccessManager. It can handle multiple requests at the same time.


Log in to reply