Initial commit of Admission Control xAPP and E2AP/X2AP definitions
[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