Represents parsed multipart/form-data content.
More...
#include <MultipartForm.hpp>
|
| static MultipartForm | parse (std::string_view content_type_header, std::string_view body) |
| | Parses a multipart/form-data request body.
|
| |
Represents parsed multipart/form-data content.
◆ parse()
| MultipartForm http::MultipartForm::parse |
( |
std::string_view |
content_type_header, |
|
|
std::string_view |
body |
|
) |
| |
|
static |
Parses a multipart/form-data request body.
- Parameters
-
| content_type_header | The Content-Type header containing the boundary. |
| body | The raw request body. |
- Returns
- A parsed MultipartForm object.
◆ fields
| std::unordered_map<std::string, std::string> http::MultipartForm::fields |
◆ files
The documentation for this class was generated from the following files: