The result of receive_multipart().
More...
#include <MultipartUpload.hpp>
|
| bool | ok () const |
| |
| void | discard () |
| | Deletes every saved file (for example after rejecting the upload).
|
| |
|
| std::unordered_map< std::string, std::string > | fields |
| |
| std::vector< UploadedFile > | files |
| |
| std::string | error |
| | Empty on success. On failure no files are left on disk.
|
| |
◆ discard()
| void orbit::http::MultipartUpload::discard |
( |
| ) |
|
Deletes every saved file (for example after rejecting the upload).
◆ ok()
| bool orbit::http::MultipartUpload::ok |
( |
| ) |
const |
|
inline |
◆ error
| std::string orbit::http::MultipartUpload::error |
Empty on success. On failure no files are left on disk.
◆ fields
| std::unordered_map<std::string, std::string> orbit::http::MultipartUpload::fields |
◆ files
| std::vector<UploadedFile> orbit::http::MultipartUpload::files |
Saved files. They belong to the application, which should move or delete them; discard() deletes them all.
The documentation for this struct was generated from the following file: