00001
00002
00003
00004
00005 #ifndef REQUEST_H
00006 #define REQUEST_H
00007
00008 #include "variant.h"
00009
00010 namespace xmlrpc {
00011
00020 class Request {
00021 public:
00022 Request();
00023 Request( const QString& methodName, const QList<Variant>& );
00024
00025 ~Request();
00026
00027 bool isNull() const;
00028
00029 QString methodName() const;
00030 QList<Variant> parameters() const;
00031
00032 bool setContent( const QByteArray& requestData, QString *errorMessage = 0 );
00033 QByteArray composeRequest() const;
00034
00035 private:
00036 class Private;
00037 QSharedDataPointer<Private> d;
00038 };
00039
00040 }
00041
00042 #endif // ifndef REQUEST_H
00043