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