BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions | Static Public Member Functions
BeeeOn::HTTPUtil Class Reference

Public Member Functions

 HTTPUtil (const HTTPUtil &)=delete
 
 HTTPUtil (const HTTPUtil &&)=delete
 

Static Public Member Functions

static HTTPEntireResponse makeRequest (Poco::Net::HTTPRequest &request, const Poco::URI &uri, const std::string &msg, const Poco::Timespan &timeout=-1)
 Sends HTTP request to target defined by URI. It also sets URI path to the request. If the timeout is negative, it is not set.
 
static HTTPEntireResponse makeRequest (Poco::Net::HTTPRequest &request, const Poco::URI &uri, const std::string &msg, SSLClient::Ptr sslConfig, const Poco::Timespan &timeout=-1)
 Sends HTTP request over SSL to target defined by URI. It also sets URI path to the request. If the timeout is negative, it is not set.
 
static HTTPEntireResponse makeRequest (Poco::Net::HTTPRequest &request, const std::string &host, const uint16_t port, const std::string &msg, const Poco::Timespan &timeout=-1)
 Sends HTTP request to target defined by host and port. If the timeout is negative, it is not set.
 
static HTTPEntireResponse makeRequest (Poco::Net::HTTPRequest &request, const std::string &host, const uint16_t port, const std::string &msg, SSLClient::Ptr sslConfig, const Poco::Timespan &timeout=-1)
 Sends HTTP request over SSL to target defined by host and port. If the timeout is negative, it is not set.
 

The documentation for this class was generated from the following files: