skeleton code for metrics

This commit is contained in:
DarthArgus
2016-10-17 16:21:39 -05:00
parent 3afa0d7b20
commit 08cc494dda
6 changed files with 315 additions and 207 deletions
+21
View File
@@ -0,0 +1,21 @@
//
// Created by Darth on 10/17/2016.
//
#include "webAPIHeartbeat.h"
using namespace StellaBellum;
webAPIHeartbeat:webAPIHeartbeat() {
vxCplEncryptedString u = vxENCRYPT("https://login.stellabellum.net/metriccontroller/shoulderTap?type=server");
webAPI handle = webAPI::webAPI(u.decrypt());
handle.addJsonData("ip", "test");
bool result = fetch.submit(); // data is stored as a class member
// do stuff
delete handle;
};