16 bool hasRawHeader(
const QByteArray &key)
const;
17 QByteArray rawHeader(
const QByteArray &key)
const;
18 QByteArrayList rawHeaderList()
const;
19 void setRawHeader(
const QByteArray &key,
const QByteArray &value);
20 void addRawHeader(
const QByteArray &key,
const QByteArray &value);
21 void removeAllRawHeaders(
const QByteArray &key);
22 void removeRawHeader(
const QByteArray &key);
26 QByteArray contentType()
const;
27 void setContentType(
const QByteArray &type);
28 int64_t contentLength()
const;
29 void setContentLength(int64_t len);
30 QByteArray date()
const;
31 void setDate(
const QByteArray &date);
32 void setDate(
const QDateTime &dateTime);
33 void setCurrentDate();
34 virtual QByteArray toByteArray()
const;
38 void parse(
const QByteArray &header);
43 mutable int64_t _contentLength {-1};
#define T_CORE_EXPORT
Definition: tdeclexport.h:28