6 #ifndef ALICEO2_MONITORING_TRANSPORTS_HTTP_H 7 #define ALICEO2_MONITORING_TRANSPORTS_HTTP_H 11 #include <curl/curl.h> 31 HTTP(
const std::string& url);
38 void send(std::string&& post);
41 void addHeader(
const std::string& header);
47 struct curl_slist *mHeaders;
54 #endif // ALICEO2_MONITORING_TRANSPORTS_HTTP_H
void addHeader(const std::string &header)
Adds custom HTTP header.
Definition: HTTP.cxx:44
void send(std::string &&post)
Definition: HTTP.cxx:50
Transport interface for backends.
Definition: TransportInterface.h:31
~HTTP()
Destructor.
Definition: HTTP.cxx:37
HTTP POST transport.
Definition: HTTP.h:26
HTTP(const std::string &url)
Definition: HTTP.cxx:20