mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2026-01-28 02:23:03 +00:00
16 lines
357 B
C++
16 lines
357 B
C++
//
|
|
// Created by stephane bourque on 2021-07-21.
|
|
//
|
|
|
|
#include "RESTAPI_deviceDashboardHandler.h"
|
|
#include "Daemon.h"
|
|
#include "Dashboard.h"
|
|
|
|
namespace OpenWifi {
|
|
void RESTAPI_deviceDashboardHandler::DoGet() {
|
|
Daemon()->GetDashboard().Create();
|
|
Poco::JSON::Object Answer;
|
|
Daemon()->GetDashboard().Report().to_json(Answer);
|
|
ReturnObject(Answer);
|
|
}
|
|
} |