http_request.hpp
nooser for the classes http_header &http_post used for cloud requests
Definition: http_request.hpp:20
std::string to_post() const
translate post data into a string with HTTP Protocol format
bool operator==(const http_request &rhs) const
compare if two http_request are equal
data of the platform where you are going to connect
Definition: platform.hpp:23
Definition: asio_handler.hpp:14
void make_multipart_form()
make this a multipart-form, by creating the correct header fields, boundaries and multipart entries ...
std::string to_string(noos::cloud::platform info) const
translate noos::cloud::platform parameters into a string with HTTP Protocol format ...
http_request(const std::string uri)
construct a cloud HTTP request (multipart/form-data)
void add_content(Args...args)
add multiple content to the post with HTTP Protocol
void fill_buffer(boost::asio::streambuf &buffer, noos::cloud::platform info)
fill the socket streambuf with the request header and post data