EHS Embedded HTTP Server
1.5.0.132
|
This class stores form data sent from the client in GET and POST requests. More...
#include <formvalue.h>
Public Member Functions | |
FormValue () | |
Default constructor. | |
FormValue (std::string &irsBody, ContentDisposition &ioContentDisposition) | |
Constructs a new instance. | |
FormValue (const FormValue &iroFormValue) | |
Copy constructor. | |
virtual | ~FormValue () |
Destructor. | |
Public Attributes | |
StringMap | m_oFormHeaders |
for MIME attachments only, normal header information like content-type -- everything except content-disposition, which is in oContentDisposition | |
ContentDisposition | m_oContentDisposition |
everything in the content disposition line | |
std::string | m_sBody |
the body of the value. For non-MIME-style attachments, this is the only part used. |
This class stores form data sent from the client in GET and POST requests.
Metadata within MIME-style attachments is decoded and stored into members of this class. Each element of a form is put into a ContentDisposition object for later retrieval.
FormValue | ( | std::string & | irsBody, |
ContentDisposition & | ioContentDisposition | ||
) |
Constructs a new instance.
irsBody | The body content of the form element. |
ioContentDisposition | The content disposition type string. |