![]() |
D++ (DPP)
C++ Discord API Bot Library
|
#include <httplib.h>
Collaboration diagram for httplib::Request:Public Member Functions | |
| MultipartFormData | get_file_value (const char *key) const |
| std::string | get_header_value (const char *key, size_t id=0) const |
| template<typename T > | |
| T | 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 |
| bool | is_multipart_form_data () const |
| void | set_header (const char *key, const char *val) |
| void | set_header (const char *key, const std::string &val) |
Public Attributes | |
| size_t | authorization_count_ = 0 |
| std::string | body |
| size_t | content_length_ = 0 |
| ContentProvider | content_provider_ |
| ContentReceiverWithProgress | content_receiver |
| MultipartFormDataMap | files |
| Headers | headers |
| bool | is_chunked_content_provider_ = false |
| Match | matches |
| std::string | method |
| Params | params |
| std::string | path |
| Progress | progress |
| Ranges | ranges |
| size_t | redirect_count_ = 20 |
| std::string | remote_addr |
| int | remote_port = -1 |
| ResponseHandler | response_handler |
| std::string | target |
| std::string | version |
| MultipartFormData httplib::Request::get_file_value | ( | const char * | key | ) | const |
| std::string httplib::Request::get_header_value | ( | const char * | key, |
| size_t | id = 0 |
||
| ) | const |
| T httplib::Request::get_header_value | ( | const char * | key, |
| size_t | id = 0 |
||
| ) | const |
| size_t httplib::Request::get_header_value_count | ( | const char * | key | ) | const |
| std::string httplib::Request::get_param_value | ( | const char * | key, |
| size_t | id = 0 |
||
| ) | const |
| size_t httplib::Request::get_param_value_count | ( | const char * | key | ) | const |
| bool httplib::Request::has_file | ( | const char * | key | ) | const |
| bool httplib::Request::has_header | ( | const char * | key | ) | const |
| bool httplib::Request::has_param | ( | const char * | key | ) | const |
| bool httplib::Request::is_multipart_form_data | ( | ) | const |
| void httplib::Request::set_header | ( | const char * | key, |
| const char * | val | ||
| ) |
| void httplib::Request::set_header | ( | const char * | key, |
| const std::string & | val | ||
| ) |
| size_t httplib::Request::authorization_count_ = 0 |
| std::string httplib::Request::body |
| size_t httplib::Request::content_length_ = 0 |
| ContentProvider httplib::Request::content_provider_ |
| ContentReceiverWithProgress httplib::Request::content_receiver |
| MultipartFormDataMap httplib::Request::files |
| Headers httplib::Request::headers |
| bool httplib::Request::is_chunked_content_provider_ = false |
| Match httplib::Request::matches |
| std::string httplib::Request::method |
| Params httplib::Request::params |
| std::string httplib::Request::path |
| Progress httplib::Request::progress |
| Ranges httplib::Request::ranges |
| size_t httplib::Request::redirect_count_ = 20 |
| std::string httplib::Request::remote_addr |
| int httplib::Request::remote_port = -1 |
| ResponseHandler httplib::Request::response_handler |
| std::string httplib::Request::target |
| std::string httplib::Request::version |