|
void | initServer () |
| Init server after thread start.
|
|
void | onServerStopped (void) |
|
void | onServerStarted (quint16 port) |
|
void | onServerError (QString msg) |
|
void | handleSettingsUpdate (const settings::type &type, const QJsonDocument &config) |
| Handle settings update from Hyperion Settingsmanager emit or this constructor. More...
|
|
|
void | stateChange (const bool newState) |
| whenever server is started or stopped (to sync with SSDPHandler) More...
|
|
void | portChanged (const quint16 &port) |
| Emits whenever the port changes (doesn't compare prev <> now)
|
|
|
| WebServer (const QJsonDocument &config, QObject *parent=0) |
|
void | start () |
|
void | stop () |
|
quint16 | getPort () |
|
bool | isInited () |
| check if server has been inited
|
|
void | setSSDPDescription (const QString &desc) |
| Set a new description, if empty the description is NotFound for clients.
|
|
§ handleSettingsUpdate
void WebServer::handleSettingsUpdate |
( |
const settings::type & |
type, |
|
|
const QJsonDocument & |
config |
|
) |
| |
|
slot |
Handle settings update from Hyperion Settingsmanager emit or this constructor.
- Parameters
-
type | settingyType from enum |
config | configuration object |
§ stateChange
void WebServer::stateChange |
( |
const bool |
newState | ) |
|
|
signal |
whenever server is started or stopped (to sync with SSDPHandler)
- Parameters
-
newState | True when started, false when stopped |
The documentation for this class was generated from the following files:
- include/webserver/WebServer.h
- libsrc/webserver/WebServer.cpp