23#ifndef QHTTPENGINE_RANGE_H
24#define QHTTPENGINE_RANGE_H
28#include "qhttpengine_export.h"
33class QHTTPENGINE_EXPORT RangePrivate;
195 RangePrivate *
const d;
qint64 length() const
Retrieve length of range.
~Range()
Destroy the range.
bool isValid() const
Checks if range is valid.
qint64 from() const
Retrieve starting position of range.
Range(const Range &other, qint64 dataSize)
Construct a range from the another range's offsets.
QString contentRange() const
Retrieve representation suitable for Content-Range header.
Range(const QString &range, qint64 dataSize=-1)
Construct a range from the provided string.
Range(qint64 from, qint64 to, qint64 dataSize=-1)
Construct a range from the provided offsets.
Range()
Create a new range.
Range & operator=(const Range &other)
Assignment operator.
qint64 to() const
Retrieve ending position of range.
qint64 dataSize() const
Retrieve dataSize of range.