HTTP Response.
More...
#include <HTTPResponse.h>
|
| typedef std::map< std::string, std::string > | Headers |
| | Associative container for headers.
|
◆ HTTPResponse() [1/3]
| odil::webservices::HTTPResponse::HTTPResponse |
( |
std::string const & | http_version = "", |
|
|
unsigned int | status = 0, |
|
|
std::string const & | reason = "", |
|
|
Headers const & | headers = {}, |
|
|
std::string const & | body = "" ) |
Constructor.
By default, HTTP version and reason default to "" and status to 0 "HTTP/1.0".
◆ HTTPResponse() [2/3]
| odil::webservices::HTTPResponse::HTTPResponse |
( |
HTTPResponse const & | | ) |
|
|
default |
◆ HTTPResponse() [3/3]
| odil::webservices::HTTPResponse::HTTPResponse |
( |
HTTPResponse && | | ) |
|
|
default |
◆ ~HTTPResponse()
| virtual odil::webservices::HTTPResponse::~HTTPResponse |
( |
| ) |
|
|
virtualdefault |
◆ get_http_version()
| std::string const & odil::webservices::HTTPResponse::get_http_version |
( |
| ) |
const |
◆ get_reason()
| std::string const & odil::webservices::HTTPResponse::get_reason |
( |
| ) |
const |
◆ get_status()
| unsigned int odil::webservices::HTTPResponse::get_status |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_http_version()
| void odil::webservices::HTTPResponse::set_http_version |
( |
std::string const & | http_version | ) |
|
◆ set_reason()
| void odil::webservices::HTTPResponse::set_reason |
( |
std::string const & | target | ) |
|
◆ set_status()
| void odil::webservices::HTTPResponse::set_status |
( |
unsigned int | status | ) |
|
The documentation for this class was generated from the following file:
- /build/reproducible-path/odil-0.13.0/src/odil/webservices/HTTPResponse.h