cobra to sentry fixes

This commit is contained in:
Benjamin Sergeant
2019-06-05 18:47:48 -07:00
parent 78b3d7ff2d
commit 89909c15bc
5 changed files with 71 additions and 26 deletions

View File

@ -9,6 +9,7 @@
#include <ixwebsocket/IXHttpClient.h>
#include <jsoncpp/json/json.h>
#include <regex>
#include <algorithm>
namespace ix
{
@ -18,7 +19,7 @@ namespace ix
SentryClient(const std::string& dsn);
~SentryClient() = default;
bool send(const Json::Value& msg, bool verbose);
std::pair<HttpResponsePtr, std::string> send(const Json::Value& msg, bool verbose);
private:
int64_t getTimestamp();