Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
kcenon::network::internal::multipart_file Struct Reference

Represents a file uploaded via multipart/form-data. More...

#include <http_types.h>

Collaboration diagram for kcenon::network::internal::multipart_file:
Collaboration graph

Public Attributes

std::string field_name
 
std::string filename
 
std::string content_type
 
std::vector< uint8_t > content
 

Detailed Description

Represents a file uploaded via multipart/form-data.

Structure

  • field_name: Form field name
  • filename: Original filename
  • content_type: MIME type of the file
  • content: File content as raw bytes

Definition at line 91 of file http_types.h.

Member Data Documentation

◆ content

std::vector<uint8_t> kcenon::network::internal::multipart_file::content

◆ content_type

std::string kcenon::network::internal::multipart_file::content_type

◆ field_name

std::string kcenon::network::internal::multipart_file::field_name

◆ filename

std::string kcenon::network::internal::multipart_file::filename

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