5#include <SFML/Network/Http.hpp>
21 [[nodiscard]] virtual std::
string Get(std::string_view uri) noexcept = 0;
22 virtual
void Post(std::string_view uri, std::string_view json_body) noexcept = 0;
HttpInterface is an interface to perform GET and POST requests via the HTTP protocol....
Definition http_interface.h:11
virtual std::string Get(std::string_view uri) noexcept=0
virtual void Post(std::string_view uri, std::string_view json_body) noexcept=0
virtual void RegisterHostAndPort(std::string_view host, Port port) noexcept=0
constexpr HttpInterface() noexcept=default
std::uint16_t Port
Definition types.h:19