Crow  0.3
A C++ microframework for the web
crow::multipart::message Struct Reference

The parsed multipart request/response. More...

#include <multipart.h>

Inheritance diagram for crow::multipart::message:
crow::returnable

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)
 
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 > &sections)
 Default constructor using default values.
 
 message (const request &req)
 Create a multipart message from a request data.
 
- Public Member Functions inherited from crow::returnable
 returnable (std::string ctype)
 

Public Attributes

ci_map headers
 
std::string boundary
 The text boundary that separates different parts
 
std::vector< partparts
 The individual parts of the message.
 
- Public Attributes inherited from crow::returnable
std::string content_type
 

Detailed Description

The parsed multipart request/response.


The documentation for this struct was generated from the following file: