maph 1.0.0 High-Performance Memory-Mapped Key-Value Database with O(1) Lookups

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
httplib::MultipartFormData Struct Reference

`#include <httplib.h>`

Collaboration diagram for httplib::MultipartFormData:

## Public Member Functions
std::string | get_field (const std::string &key, size_t id=0) const
std::vector< std::string > | get_fields (const std::string &key) const
bool | has_field (const std::string &key) const
size_t | get_field_count (const std::string &key) const
FormData | get_file (const std::string &key, size_t id=0) const
std::vector< FormData > | get_files (const std::string &key) const
bool | has_file (const std::string &key) const
size_t | get_file_count (const std::string &key) const

## Public Attributes
FormFields | fields
FormFiles | files

## Detailed Description

Definition at line 609 of file httplib.h.

## Member Function Documentation

## ◆ get_field()

std::string httplib::MultipartFormData::get_field | ( | const std::string & | key,
|  | size_t | id = `0`
| ) |  | const
| inline

Definition at line 6796 of file httplib.h.

## ◆ get_field_count()

size_t httplib::MultipartFormData::get_field_count | ( | const std::string & | key | ) | const
| inline

Definition at line 6819 of file httplib.h.

## ◆ get_fields()

std::vector< std::string > httplib::MultipartFormData::get_fields | ( | const std::string & | key | ) | const
| inline

Definition at line 6806 of file httplib.h.

## ◆ get_file()

FormData httplib::MultipartFormData::get_file | ( | const std::string & | key,
|  | size_t | id = `0`
| ) |  | const
| inline

Definition at line 6824 of file httplib.h.

## ◆ get_file_count()

size_t httplib::MultipartFormData::get_file_count | ( | const std::string & | key | ) | const
| inline

Definition at line 6847 of file httplib.h.

## ◆ get_files()

std::vector< FormData > httplib::MultipartFormData::get_files | ( | const std::string & | key | ) | const
| inline

Definition at line 6834 of file httplib.h.

## ◆ has_field()

bool httplib::MultipartFormData::has_field | ( | const std::string & | key | ) | const
| inline

Definition at line 6815 of file httplib.h.

## ◆ has_file()

bool httplib::MultipartFormData::has_file | ( | const std::string & | key | ) | const
| inline

Definition at line 6843 of file httplib.h.

## Member Data Documentation

## ◆ fields

FormFields httplib::MultipartFormData::fields

Definition at line 610 of file httplib.h.

## ◆ files

FormFiles httplib::MultipartFormData::files

Definition at line 611 of file httplib.h.

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

- integrations/rest_api/httplib.h