Web framework C++
2.0.0
Simple web framework on c++ designed to easily create web pages, etc
|
wrapper class for http body More...
#include <message_body.h>
Public Member Functions | |
MessageBody () | |
MessageBody (std::string &body) | |
MessageBody (const char *body) | |
void | setBody (std::string &body) |
std::string | getBody () |
void | clear () |
wrapper class for http body
MessageBody contains decoded information about http body
MessageBody::MessageBody | ( | ) |
Create empty http body
MessageBody::MessageBody | ( | std::string & | body | ) |
Create http body from input string
body | input string |
MessageBody::MessageBody | ( | const char * | body | ) |
Create http body from input string
body | input string |
void MessageBody::clear | ( | ) |
delete all data
std::string MessageBody::getBody | ( | ) |
get http body as string
void MessageBody::setBody | ( | std::string & | body | ) |
set http body as string
body | http body |