Class for script variables observing, based on HTTP server.
More...
#include <trikVariablesServer.h>
|
void | getVariables (const QString &propertyName) |
| Emitted when there is a new connection with a HTTP-request of variables values. More...
|
|
Class for script variables observing, based on HTTP server.
TrikVariablesServer::TrikVariablesServer |
( |
| ) |
|
void trikScriptRunner::TrikVariablesServer::getVariables |
( |
const QString & |
propertyName | ) |
|
|
signal |
Emitted when there is a new connection with a HTTP-request of variables values.
- Parameters
-
propertyName | - name of variables prefix, i.e prefix "web" for variable "web.light" |
void TrikVariablesServer::sendHTTPResponse |
( |
const QJsonObject & |
json | ) |
|
|
slot |
Sends HTTP response with JSON data about variables.
- Parameters
-
json | - JSON container for variables values |
The documentation for this class was generated from the following files: