Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
MultipartUpload.hpp File Reference
#include <orbit/legacy_namespaces.hpp>
#include <orbit/http/HttpRequest.hpp>
#include <orbit/http/MultipartStreamParser.hpp>
#include <orbit/http/ResponseWriter.hpp>
#include <functional>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
Include dependency graph for MultipartUpload.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  orbit::http::UploadedFile
 A file part saved to disk by receive_multipart(). More...
 
struct  orbit::http::MultipartUpload
 The result of receive_multipart(). More...
 

Namespaces

namespace  orbit
 
namespace  orbit::http
 

Functions

void orbit::http::receive_multipart (const HttpRequest &req, std::shared_ptr< ResponseWriter > writer, std::function< void(MultipartUpload &)> on_complete, MultipartLimits limits={})
 Receives a multipart/form-data body, streaming file parts to disk.