Code Review
/
ric-app
/
admin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bd72b50cde98a467303afe66e3f81b288829bb23
[ric-app/admin.git]
/
curl_interface.hpp
1
#include <iostream>
2
#include <curl/curl.h>
3
#include <cstdio>
4
5
#ifndef CURL_INTERFACE
6
#define CURL_INTERFACE
7
8
class curl_interface {
9
10
public:
11
curl_interface(std::string);
12
bool post_metrics(std::string & data);
13
std::string getError(void) const;
14
15
private:
16
std::string _curl_url;
17
std::string _error;
18
};
19
20
21
#endif