Hi i want to know the request ID of each requests that are send through QNetworkaccessmanager. Please help me. Thanks in advance...
Printable View
Hi i want to know the request ID of each requests that are send through QNetworkaccessmanager. Please help me. Thanks in advance...
what do you mean for request id?
The only inherent thing that resembles a "request id" is the QNetworkReply * returned by calls to QNetworkAccessManager::get() and friends.
You could possibly pass your own "request id" as a user attribute on the QNetworkRequest and retrieve it from the QNetworkReply. See setAttribute() and QNetworkRequest::User.