HTTP request.
More...
#include <HTTPRequest.h>
|
| typedef std::map< std::string, std::string > | Headers |
| | Associative container for headers.
|
◆ HTTPRequest() [1/3]
| odil::webservices::HTTPRequest::HTTPRequest |
( |
std::string const & | method = "", |
|
|
URL const & | target = {}, |
|
|
std::string const & | http_version = "HTTP/1.0", |
|
|
Headers const & | headers = {}, |
|
|
std::string const & | body = "" ) |
Constructor.
By default, method, target are empty, and HTTP version default to "HTTP/1.0".
◆ HTTPRequest() [2/3]
| odil::webservices::HTTPRequest::HTTPRequest |
( |
HTTPRequest const & | | ) |
|
|
default |
◆ HTTPRequest() [3/3]
| odil::webservices::HTTPRequest::HTTPRequest |
( |
HTTPRequest && | | ) |
|
|
default |
◆ ~HTTPRequest()
| virtual odil::webservices::HTTPRequest::~HTTPRequest |
( |
| ) |
|
|
virtualdefault |
◆ get_http_version()
| std::string const & odil::webservices::HTTPRequest::get_http_version |
( |
| ) |
const |
◆ get_method()
| std::string const & odil::webservices::HTTPRequest::get_method |
( |
| ) |
const |
◆ get_target()
| URL const & odil::webservices::HTTPRequest::get_target |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_http_version()
| void odil::webservices::HTTPRequest::set_http_version |
( |
std::string const & | http_version | ) |
|
◆ set_method()
| void odil::webservices::HTTPRequest::set_method |
( |
std::string const & | method | ) |
|
◆ set_target()
| void odil::webservices::HTTPRequest::set_target |
( |
URL const & | target | ) |
|
The documentation for this class was generated from the following file:
- /build/reproducible-path/odil-0.13.0/src/odil/webservices/HTTPRequest.h