The parsed multipart request/response. More...
#include <multipart.h>
Public Member Functions | |
const std::string & | get_header_value (const std::string &key) const |
std::string | dump () const override |
Represent all parts as a string (does not include message headers) More... | |
std::string | dump (int part_) const |
Represent an individual part as a string. | |
message (const ci_map &headers, const std::string &boundary, const std::vector< part > §ions) | |
Default constructor using default values. | |
message (const request &req) | |
Create a multipart message from a request data. | |
![]() | |
virtual std::string | dump () const =0 |
returnable (std::string ctype) | |
Public Attributes | |
ci_map | headers |
std::string | boundary |
The text boundary that separates different parts | |
std::vector< part > | parts |
The individual parts of the message. | |
![]() | |
std::string | content_type |
The parsed multipart request/response.
|
inlineoverridevirtual |
Represent all parts as a string (does not include message headers)
Implements crow::returnable.