mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
json schema added for checking incoming messages
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
// jsoncpp includes
|
||||
#include <json/json.h>
|
||||
|
||||
// util includes
|
||||
#include <utils/jsonschema/JsonSchemaChecker.h>
|
||||
|
||||
class JsonClientConnection : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -35,5 +38,7 @@ private:
|
||||
private:
|
||||
QTcpSocket * _socket;
|
||||
|
||||
JsonSchemaChecker _schemaChecker;
|
||||
|
||||
QByteArray _receiveBuffer;
|
||||
};
|
||||
|
Reference in New Issue
Block a user