RESTinio
|
A description of one part with an uploaded file. More...
#include <file_upload.hpp>
Public Attributes | |
http_header_fields_t | fields |
HTTP-fields local for that part. More... | |
string_view_t | body |
The body of that part. More... | |
std::string | name |
The value of Content-Disposition's 'name' parameter. More... | |
optional_t< std::string > | filename_star |
The value of Content-Disposition's 'filename*' parameter. More... | |
optional_t< std::string > | filename |
The value of Content-Disposition's 'filename' parameter. More... | |
A description of one part with an uploaded file.
Definition at line 146 of file file_upload.hpp.
string_view_t restinio::file_upload::part_description_t::body |
The body of that part.
Definition at line 155 of file file_upload.hpp.
http_header_fields_t restinio::file_upload::part_description_t::fields |
HTTP-fields local for that part.
Definition at line 153 of file file_upload.hpp.
optional_t< std::string > restinio::file_upload::part_description_t::filename |
The value of Content-Disposition's 'filename' parameter.
This field has the value only of 'filename' parameter was found in Content-Disposition field.
Definition at line 175 of file file_upload.hpp.
optional_t< std::string > restinio::file_upload::part_description_t::filename_star |
The value of Content-Disposition's 'filename*' parameter.
This field has the value only of 'filename*' parameter was found in Content-Disposition field.
utf-8'en-US'A%20some%20filename.txt
Definition at line 169 of file file_upload.hpp.
std::string restinio::file_upload::part_description_t::name |
The value of Content-Disposition's 'name' parameter.
Definition at line 157 of file file_upload.hpp.