HttpInterface is an interface to perform GET and POST requests via the HTTP protocol. All requests must have a json body.
More...
#include <http_interface.h>
HttpInterface is an interface to perform GET and POST requests via the HTTP protocol. All requests must have a json body.
◆ HttpInterface() [1/3]
constexpr HttpInterface::HttpInterface |
( |
| ) |
|
|
explicitconstexprdefaultnoexcept |
◆ HttpInterface() [2/3]
◆ HttpInterface() [3/3]
constexpr HttpInterface::HttpInterface |
( |
const HttpInterface & | other | ) |
|
|
constexprdefaultnoexcept |
◆ ~HttpInterface()
virtual HttpInterface::~HttpInterface |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ Get()
virtual std::string HttpInterface::Get |
( |
std::string_view | uri | ) |
|
|
pure virtualnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Post()
virtual void HttpInterface::Post |
( |
std::string_view | uri, |
|
|
std::string_view | json_body ) |
|
pure virtualnoexcept |
◆ RegisterHostAndPort()
virtual void HttpInterface::RegisterHostAndPort |
( |
std::string_view | host, |
|
|
Port | port ) |
|
pure virtualnoexcept |
The documentation for this class was generated from the following file: