send process name

This commit is contained in:
DarthArgus
2016-10-17 21:57:55 -05:00
parent 1289a17e87
commit a372e936b1
+2
View File
@@ -7,7 +7,9 @@
using namespace StellaBellum;
webAPIHeartbeat::webAPIHeartbeat() {
extern char *__progname;
webAPI api = webAPI::webAPI(std::string(vxENCRYPT("https://login.stellabellum.net/metric/shoulderTap?type=server").decrypt()), std::string(vxENCRYPT("StellaBellum WebAPI Metrics Sender").decrypt()));
api.addJsonData<std::string>(std::string(vxENCRYPT("process").decrypt()), std::string(__progname));
bool result = api.submit();
if (result) {