|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Abstract HTTP transport interface. More...
#include <http_transport.h>


Public Member Functions | |
| virtual | ~http_transport ()=default |
| virtual common::Result< http_response > | send (const http_request &request)=0 |
| Send HTTP request and receive response. | |
| virtual bool | is_available () const =0 |
| Check if transport is available. | |
| virtual std::string | name () const =0 |
| Get transport name. | |
Abstract HTTP transport interface.
Definition at line 58 of file http_transport.h.
|
virtualdefault |
|
pure virtual |
Check if transport is available.
Implemented in kcenon::monitoring::simple_http_client, and kcenon::monitoring::stub_http_transport.
|
pure virtual |
Get transport name.
Implemented in kcenon::monitoring::simple_http_client, and kcenon::monitoring::stub_http_transport.
|
pure virtual |
Send HTTP request and receive response.
Implemented in kcenon::monitoring::simple_http_client, and kcenon::monitoring::stub_http_transport.