userver: server::http::FormDataArg Struct Reference
Loading...
Searching...
No Matches
server::http::FormDataArg Struct Reference

#include <userver/server/http/form_data_arg.hpp>

Detailed Description

Argument of a multipart/form-data request.

Definition at line 15 of file form_data_arg.hpp.

Public Member Functions

bool operator== (const FormDataArg &r) const
 
std::string Charset () const
 
std::string ToDebugString () const
 

Public Attributes

std::string_view value
 
std::string_view content_disposition
 
std::optional< std::string > filename
 
std::optional< std::string > default_charset
 
std::optional< std::string_view > content_type
 

Member Function Documentation

◆ operator==()

bool server::http::FormDataArg::operator== ( const FormDataArg & r) const
inline

Definition at line 22 of file form_data_arg.hpp.

Member Data Documentation

◆ content_disposition

std::string_view server::http::FormDataArg::content_disposition

Definition at line 17 of file form_data_arg.hpp.

◆ content_type

std::optional<std::string_view> server::http::FormDataArg::content_type

Definition at line 20 of file form_data_arg.hpp.

◆ default_charset

std::optional<std::string> server::http::FormDataArg::default_charset

Definition at line 19 of file form_data_arg.hpp.

◆ filename

std::optional<std::string> server::http::FormDataArg::filename

Definition at line 18 of file form_data_arg.hpp.

◆ value

std::string_view server::http::FormDataArg::value

Definition at line 16 of file form_data_arg.hpp.


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