1 #ifndef TORCHTTPSERVICETEST_H 2 #define TORCHTTPSERVICETEST_H 16 Q_CLASSINFO(
"Version",
"1.0.0")
17 Q_CLASSINFO(
"EchoInt",
"methods=GET&HEAD")
18 Q_CLASSINFO(
"EchoBool",
"methods=GET&HEAD")
19 Q_CLASSINFO(
"EchoFloat",
"methods=GET&HEAD")
20 Q_CLASSINFO(
"EchoUnsignedLongLong",
"methods=GET&HEAD")
21 Q_CLASSINFO(
"EchoStringList",
"methods=GET&HEAD,type=strings")
22 Q_CLASSINFO(
"GetVariantMap",
"type=LevelOne")
35 QStringList
EchoStringList (
const QString &Value1,
const QString &Value2,
const QString &Value3);
47 #endif // TORCHTTPSERVICETEST_H void GetUnsupportedParameter(QStringList Unsupported)
This function should be rejected at startup.
QDateTime GetTimeNow(void)
Returns the current time.
QVariantHash GetUnsupportedHash(void)
This function should be rejected at startup.
void GetVoid(void)
Returns a void.
void SubscriberDeleted(QObject *Subscriber)
QStringList EchoStringList(const QString &Value1, const QString &Value2, const QString &Value3)
Returns the given strings as a list or array.
QVariantMap GetVariantMap(void)
Returns a complex, nested data type.
QDateTime GetTimeNowUtc(void)
Returns the current time in Utc.
unsigned long long EchoUnsignedLongLong(unsigned long long Value)
Returns the given large unsigned integer.
void * GetUnsupportedPointer(void)
This function should be rejected at startup.
float EchoFloat(float Value)
Returns the given float.
bool EchoBool(bool Value)
Returns the given Boolean value.
int EchoInt(int Value)
Returns the given Integer.
Implements an HTTP service for testing purposes.