std::string to_string() const
get the POST
use to store and pass POST data and realted info
Definition: http_post.hpp:18
unsigned int size() const
get POST data Content-Length
void add_content(const std::string name, const std::string content, bool newline)
add multipart/form-data content to the POST data
http_post(std::string boundary)
preferred constructor
void end()
call once, closes the POST boundary