##// END OF EJS Templates
Updated TS lib...
Updated TS lib Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r34:8f50e908dd31
r88:4e4ec6844f70
Show More
Response.h
25 lines | 459 B | text/x-c | CLexer
First init from SciQLop Core module...
r0 #ifndef RESPONSE_H
#define RESPONSE_H
#include <QByteArray>
#include <QString>
/**
* @brief The Response class holds a Network request response
*
*/
class Response
{
int _status_code;
QByteArray _data;
public:
Response(){}
Response(QByteArray data, int status_code)
:_status_code(status_code),_data(data)
{
}
Made downloader thread safe, added debugging helper for DateTimeRange...
r34 int status_code() const{return _status_code;}
First init from SciQLop Core module...
r0 QByteArray& data(){return _data;}
};
#endif // RESPONSE_H