Описание тега qnetworkaccessmanager
The Network Access API is constructed around one QNetworkAccessManager
object, which holds the common configuration and settings for the requests it sends. It contains the proxy and cache configuration, as well as the signals related to such issues, and reply signals that can be used to monitor the progress of a network operation. One QNetworkAccessManager
should be enough for the whole Qt application.
Once a QNetworkAccessManager
object has been created, the application can use it to send requests over the network. A group of standard functions are supplied that take a request and optional data, and each return a QNetworkReply
object. The returned object is used to obtain any data returned in response to the corresponding request.
The official Qt documentation can be found here for Qt 4.8 and here for Qt 5.