diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-12 01:14:49 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-12 03:05:30 (GMT) |
commit | cc1268a6cbc9797e2a9137f7a0389f3d144a8c0a (patch) | |
tree | 60b38471ee1e8fc66a93978f599dca6f12b2a870 /src/network/socket/qhttpsocketengine_p.h | |
parent | cb9cf8fbe9dd54c011490ee814c0692e61b729df (diff) | |
download | Qt-cc1268a6cbc9797e2a9137f7a0389f3d144a8c0a.zip Qt-cc1268a6cbc9797e2a9137f7a0389f3d144a8c0a.tar.gz Qt-cc1268a6cbc9797e2a9137f7a0389f3d144a8c0a.tar.bz2 |
Move http resume code into http backend.
Adds two new virtual functions to QNetworkAccessBackend:
bool canResume() const; and
void setResumeOffset(quint64)
canResume() is used to query the existing backend if resuming is
supported for the current request.
setResumeOffset() is used to set an additional offset which should be
applied when the backend posts the request.
The default implementation of canResume() returns false (resuming not
supported). The default implementation of setResumeOffset() does
nothing.
Diffstat (limited to 'src/network/socket/qhttpsocketengine_p.h')
0 files changed, 0 insertions, 0 deletions