Class ClHttp
Defined in File cl_http_client.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public smacc2::ISmaccClient
Class Documentation
-
class ClHttp : public smacc2::ISmaccClient
Public Types
-
using TResponse = http_session_base::TResponse
Public Functions
-
template<typename T>
inline boost::signals2::connection onResponseReceived(void (T::* callback)(const TResponse&), T *object)
-
explicit ClHttp(const std::string &server, const int &timeout = 1500)
-
virtual ~ClHttp()
-
void onInitialize() override
-
void makeRequest(const kHttpRequestMethod http_method, const std::string &path = "/", const std::string &body = "", const std::unordered_map<std::string, std::string> &headers = {})
-
using TResponse = http_session_base::TResponse