Code Review
/
ric-app
/
admin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Call Process ID and Control Request Acknowledge IEs are made optional
[ric-app/admin.git]
/
src
/
curl
/
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