24#ifndef NAWA_MIMEMULTIPART_H
25#define NAWA_MIMEMULTIPART_H
29#include <unordered_map>
43 using HeadersMap = std::unordered_map<std::string, std::string>;
112 MimeMultipart(std::string
const& contentType, std::string content);
122 void parse(std::string
const& contentType, std::string content);
std::string & content() noexcept
std::string & filename() noexcept
std::string & partName() noexcept
HeadersMap & headers() noexcept
std::string & contentType() noexcept
std::unordered_map< std::string, std::string > HeadersMap
void parse(std::string const &contentType, std::string content)
std::vector< Part > & parts() noexcept
Macros for frequently used patterns.
#define NAWA_COMPLEX_DATA_ACCESSORS_DEF(Class, Member, Type)
#define NAWA_DEFAULT_DESTRUCTOR_DEF(Class)
#define NAWA_DEFAULT_CONSTRUCTOR_DEF(Class)
#define NAWA_MOVE_CONSTRUCTOR_DEF(Class)
#define NAWA_COPY_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_PRIVATE_DATA()
#define NAWA_MOVE_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_COPY_CONSTRUCTOR_DEF(Class)