1 #ifndef TORCHTTPSERVICES_H 2 #define TORCHTTPSERVICES_H 17 Q_CLASSINFO(
"Version",
"1.0.0")
18 Q_CLASSINFO(
"GetServiceList",
"type=services")
19 Q_CLASSINFO(
"GetStartTime",
"type=starttime")
20 Q_CLASSINFO(
"GetPriority",
"type=priority")
21 Q_CLASSINFO(
"GetUuid",
"type=uuid")
22 Q_CLASSINFO(
"GetDetails",
"type=details")
23 Q_CLASSINFO(
"GetWebSocketToken",
"type=accesstoken,methods=GET+AUTH")
24 Q_CLASSINFO(
"IsSecure",
"type=secure,methods=GET")
36 QVariantMap
ProcessRequest (const QString &Method, const QVariant &Parameters, QObject *Connection,
bool Authenticated) override;
62 #endif // TORCHTTPSERVICES_H void HandlersChanged(void)
QVariantList returnFormats
QVariantMap GetDetails(void)
Return complete application information.
A class to encapsulate an incoming HTTP request.
QVariantList webSocketProtocols
void SubscriberDeleted(QObject *Subscriber)
void ServiceListChanged(void)
Top level interface into services.
QVariantList GetWebSocketProtocols(void)
QVariantMap GetServiceList(void)
qint64 GetStartTime(void)
void ProcessHTTPRequest(const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override
QVariantMap ProcessRequest(const QString &Method, const QVariant &Parameters, QObject *Connection, bool Authenticated) override
static QString GetVersion(void)
QVariantMap GetServiceDescription(const QString &Service)
QString GetUIName(void) override
QString GetWebSocketToken(void)
Return a WebSocket token for connecting a WebSocket when authentication is required.
QVariantList GetReturnFormats(void)