[Qt-interest] cancel http requests
Mandeep Sandhu
mandeepsandhu.chd at gmail.com
Thu Aug 25 16:00:56 CEST 2011
> Is it possible to cancel some of previous http requests on the client
> side, so that server would not serve them?
It is, if you have a handle to QNetworkReply object that was returned
in your get/post method call (QNAM::get/post);
http://doc.qt.nokia.com/latest/qnetworkreply.html
You can call QNetworkReply::abort() to cancel the pending request.
HTH,
-mandeep
>
> --
> Thanks!
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list