Hi i want to know the request ID of each requests that are send through QNetworkaccessmanager. Please help me. Thanks in advance...
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?
A camel can go 14 days without drink,
I can't!!!
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.
Bookmarks