Newer
Older
#ifndef RESTFILEUPLOADREQUEST_H
#define RESTFILEUPLOADREQUEST_H
#include <QVector>
#include <QDebug>
#include "restRequests/postrequest.h"
class RestFileUploadRequest : public PostRequest
{
public:
RestFileUploadRequest(QString pPath, QString pToken, QByteArray pData);
double getProgress() const;
void setProgress(double pValue);
protected:
QString mToken;
double mProgress = 0.0;
bool mOneChunk = true;
};
#endif // RESTFILEUPLOADREQUEST_H