Darknet/YOLO v3.0-88-gdee7eef
Object Detection Framework
 
Loading...
Searching...
No Matches
httplib::Request Struct Reference

#include "httplib.hpp"

Collaboration diagram for httplib::Request:

Public Member Functions

MultipartFile get_file_value (const char *key) const
 
std::string get_header_value (const char *key, size_t id=0) const
 
size_t get_header_value_count (const char *key) const
 
std::string get_param_value (const char *key, size_t id=0) const
 
size_t get_param_value_count (const char *key) const
 
bool has_file (const char *key) const
 
bool has_header (const char *key) const
 
bool has_param (const char *key) const
 
void set_header (const char *key, const char *val)
 
void set_header (const char *key, const std::string &val)
 

Public Attributes

std::string body
 
size_t content_length
 
ContentProvider content_provider
 
ContentReceiver content_receiver
 
MultipartFiles files
 
Headers headers
 
Match matches
 
std::string method
 
Params params
 
std::string path
 
Progress progress
 
Ranges ranges
 
size_t redirect_count = 20
 
ResponseHandler response_handler
 
std::string target
 
std::string version
 

Member Function Documentation

◆ get_file_value()

MultipartFile httplib::Request::get_file_value ( const char *  key) const
inline

◆ get_header_value()

std::string httplib::Request::get_header_value ( const char *  key,
size_t  id = 0 
) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_header_value_count()

size_t httplib::Request::get_header_value_count ( const char *  key) const
inline

◆ get_param_value()

std::string httplib::Request::get_param_value ( const char *  key,
size_t  id = 0 
) const
inline

◆ get_param_value_count()

size_t httplib::Request::get_param_value_count ( const char *  key) const
inline

◆ has_file()

bool httplib::Request::has_file ( const char *  key) const
inline

◆ has_header()

bool httplib::Request::has_header ( const char *  key) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ has_param()

bool httplib::Request::has_param ( const char *  key) const
inline

◆ set_header() [1/2]

void httplib::Request::set_header ( const char *  key,
const char *  val 
)
inline
Here is the caller graph for this function:

◆ set_header() [2/2]

void httplib::Request::set_header ( const char *  key,
const std::string &  val 
)
inline

Member Data Documentation

◆ body

std::string httplib::Request::body

◆ content_length

size_t httplib::Request::content_length

◆ content_provider

ContentProvider httplib::Request::content_provider

◆ content_receiver

ContentReceiver httplib::Request::content_receiver

◆ files

MultipartFiles httplib::Request::files

◆ headers

Headers httplib::Request::headers

◆ matches

Match httplib::Request::matches

◆ method

std::string httplib::Request::method

◆ params

Params httplib::Request::params

◆ path

std::string httplib::Request::path

◆ progress

Progress httplib::Request::progress

◆ ranges

Ranges httplib::Request::ranges

◆ redirect_count

size_t httplib::Request::redirect_count = 20

◆ response_handler

ResponseHandler httplib::Request::response_handler

◆ target

std::string httplib::Request::target

◆ version

std::string httplib::Request::version

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