/usr/include/qxmlrpc/request.h is in libqxmlrpc-dev 0.0.svn6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | // vim:tabstop=4:shiftwidth=4:expandtab:cinoptions=(s,U1,m1
// Copyright (C) 2007
// Author Dmitry Poplavsky <dmitry.poplavsky@gmail.com>
#ifndef REQUEST_H
#define REQUEST_H
#include "variant.h"
namespace xmlrpc {
/**
* \brief The xmlrpc::Request class contains XmlRPC request
* information.
*
* xmlrpc::Request class is usually not intended to be used
* directly but from the xmlrpc::Server and xmlrpc::Client,
* except of building custom server implementation.
*/
class Request {
public:
Request();
Request( const QString& methodName, const QList<Variant>& );
~Request();
bool isNull() const;
QString methodName() const;
QList<Variant> parameters() const;
bool setContent( const QByteArray& requestData, QString *errorMessage = 0 );
QByteArray composeRequest() const;
private:
class Private;
QSharedDataPointer<Private> d;
};
} // namespace xmlrpc
#endif // ifndef REQUEST_H
|