Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::http_response Struct Reference

HTTP response data. More...

#include <http_transport.h>

Collaboration diagram for kcenon::monitoring::http_response:
Collaboration graph

Public Attributes

int status_code {0}
 
std::string status_message
 
std::unordered_map< std::string, std::string > headers
 
std::vector< uint8_t > body
 
std::chrono::milliseconds elapsed {0}
 

Detailed Description

HTTP response data.

Definition at line 46 of file http_transport.h.

Member Data Documentation

◆ body

std::vector<uint8_t> kcenon::monitoring::http_response::body

Definition at line 50 of file http_transport.h.

◆ elapsed

std::chrono::milliseconds kcenon::monitoring::http_response::elapsed {0}

Definition at line 51 of file http_transport.h.

51{0};

Referenced by kcenon::monitoring::stub_http_transport::send().

◆ headers

std::unordered_map<std::string, std::string> kcenon::monitoring::http_response::headers

Definition at line 49 of file http_transport.h.

◆ status_code

int kcenon::monitoring::http_response::status_code {0}

Definition at line 47 of file http_transport.h.

47{0};

Referenced by kcenon::monitoring::stub_http_transport::send().

◆ status_message

std::string kcenon::monitoring::http_response::status_message

Definition at line 48 of file http_transport.h.

Referenced by kcenon::monitoring::stub_http_transport::send().


The documentation for this struct was generated from the following file: