Defines each part of multipart/form-data.
More...
#include <HTTPUtility.h>
|
| Multipart (std::string_view data) |
|
| Multipart (std::string_view name, const std::optional< std::string > &fileName, const std::optional< std::string > &contentType, std::string &&data) |
|
const std::string & | getName () const |
|
const std::optional< std::string > & | getFileName () const |
|
const std::optional< std::string > & | getContentType () const |
|
const std::string & | getData () const |
|
| ~Multipart ()=default |
|
Defines each part of multipart/form-data.
Definition at line 167 of file HTTPUtility.h.
◆ Multipart() [1/2]
web::Multipart::Multipart |
( |
std::string_view | data | ) |
|
◆ Multipart() [2/2]
web::Multipart::Multipart |
( |
std::string_view | name, |
|
|
const std::optional< std::string > & | fileName, |
|
|
const std::optional< std::string > & | contentType, |
|
|
std::string && | data ) |
◆ ~Multipart()
web::Multipart::~Multipart |
( |
| ) |
|
|
default |
◆ getContentType()
const optional< string > & web::Multipart::getContentType |
( |
| ) |
const |
◆ getData()
const string & web::Multipart::getData |
( |
| ) |
const |
◆ getFileName()
const optional< string > & web::Multipart::getFileName |
( |
| ) |
const |
◆ getName()
const string & web::Multipart::getName |
( |
| ) |
const |
The documentation for this class was generated from the following files: