libQuotient
A Qt library for building matrix clients
|
#include <requestdata.h>
Public Member Functions | |
Q_IMPLICIT | RequestData (const QByteArray &a={}) |
Q_IMPLICIT | RequestData (const QJsonObject &jo) |
Q_IMPLICIT | RequestData (const QJsonArray &ja) |
Q_IMPLICIT | RequestData (QIODevice *source) |
QIODevice * | source () const |
A simple wrapper that represents the request body. Provides a unified interface to dump an unstructured byte stream as well as JSON (and possibly other structures in the future) to a QByteArray consumed by QNetworkAccessManager request methods.
Definition at line 20 of file requestdata.h.
Q_IMPLICIT Quotient::RequestData::RequestData | ( | const QByteArray & | a = {} | ) |
Q_IMPLICIT Quotient::RequestData::RequestData | ( | const QJsonObject & | jo | ) |
Q_IMPLICIT Quotient::RequestData::RequestData | ( | const QJsonArray & | ja | ) |
Q_IMPLICIT Quotient::RequestData::RequestData | ( | QIODevice * | source | ) |
|
inline |
Definition at line 27 of file requestdata.h.