66 GET =
static_cast<int>(boost::beast::http::verb::get),
67 POST =
static_cast<int>(boost::beast::http::verb::post),
68 PUT =
static_cast<int>(boost::beast::http::verb::put),
73 explicit ClHttp(
const std::string & server,
const int & timeout = 1500);
80 template <
typename TOrthogonal,
typename TClient>
HTTP/HTTPS client with pure component-based architecture.
ClHttp(const std::string &server, const int &timeout=1500)
http_session_base::TResponse TResponse
CpHttpRequestExecutor * requestExecutor_
void onInitialize() override
CpHttpConnectionManager * connectionManager_
void onComponentInitialization()
CpHttpSessionManager * sessionManager_
void setDependencies(CpHttpConnectionManager *connMgr, CpHttpSessionManager *sessMgr)
void setServerUrl(const std::string &server_url)
boost::beast::http::response< boost::beast::http::string_body > TResponse
SmaccComponentType * createComponent(TArgs... targs)