Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::http::UploadedFile Struct Reference

A file part saved to disk by receive_multipart(). More...

#include <MultipartUpload.hpp>

Public Attributes

std::string field
 The form field name.
 
std::string filename
 Chosen by the client: never use it as a path.
 
std::string content_type
 As sent by the client.
 
std::string path
 Where the file was saved (owner-only permissions).
 

Detailed Description

A file part saved to disk by receive_multipart().

Member Data Documentation

◆ content_type

std::string orbit::http::UploadedFile::content_type

As sent by the client.

◆ field

std::string orbit::http::UploadedFile::field

The form field name.

◆ filename

std::string orbit::http::UploadedFile::filename

Chosen by the client: never use it as a path.

◆ path

std::string orbit::http::UploadedFile::path

Where the file was saved (owner-only permissions).


The documentation for this struct was generated from the following file: