Monitor requests with QNetworkAccessManager
Is this possible to capture requests sent with QNetworkAccessManager by default ? Basically what I want it a SIGNAL that is emmited after user does lets say
Code:
QNetworkAccessManager::post
and retrieve post data. I know I can do this myself but I'm just wondering if such thing is already implemented. There is
Code:
QNetworkReply::operation()
but it just returns type. And QNetworkRequest doesn't store contents.
Re: Monitor requests with QNetworkAccessManager
You could probably implement at QNetworkProxyFactory, set it as the application-wide factory and for each request just return a QNetworkProxy::DefaultProxy for every request.
Not sure though is the factory's query method is called for every access to an URL or only for each URL once.
Cheers,
_