This class creates a TCP server which accepts connections wich can then send in JSON encoded commands.
More...
#include <JsonServer.h>
This class creates a TCP server which accepts connections wich can then send in JSON encoded commands.
This interface to Hyperion is used by hyperion-remote to control the leds
§ JsonServer()
JsonServer::JsonServer |
( |
const QJsonDocument & |
config | ) |
|
§ getPort()
uint16_t JsonServer::getPort |
( |
| ) |
const |
- Returns
- the port number on which this TCP listens for incoming connections
§ handleSettingsUpdate
void JsonServer::handleSettingsUpdate |
( |
const settings::type & |
type, |
|
|
const QJsonDocument & |
config |
|
) |
| |
|
slot |
Handle settings update from Hyperion Settingsmanager emit or this constructor.
- Parameters
-
type | settings type from enum |
config | configuration object |
The documentation for this class was generated from the following files:
- include/jsonserver/JsonServer.h
- libsrc/jsonserver/JsonServer.cpp