HTTP POST transport.
More...
#include <HTTP.h>
|
| HTTP (const std::string &url) |
|
| ~HTTP () |
| Destructor.
|
|
void | send (std::string &&post) |
|
void | addHeader (const std::string &header) |
| Adds custom HTTP header.
|
|
HTTP POST transport.
Allows to push string formatted metrics as HTTP POST requests via cURL
o2::monitoring::transports::HTTP::HTTP |
( |
const std::string & |
url | ) |
|
Constructor
- Parameters
-
url | URL of HTTP server endpoint |
void o2::monitoring::transports::HTTP::send |
( |
std::string && |
post | ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- /home/travis/build/AliceO2Group/Monitoring/src/Transports/HTTP.h
- /home/travis/build/AliceO2Group/Monitoring/src/Transports/HTTP.cxx