D++ (DPP)
C++ Discord API Bot Library
|
#include <httplib.h>
Public Member Functions | |
Result (std::unique_ptr< Response > &&res, Error err, Headers &&request_headers=Headers{}) | |
operator bool () const | |
bool | operator== (std::nullptr_t) const |
bool | operator!= (std::nullptr_t) const |
const Response & | value () const |
Response & | value () |
const Response & | operator* () const |
Response & | operator* () |
const Response * | operator-> () const |
Response * | operator-> () |
Error | error () const |
bool | has_request_header (const char *key) const |
std::string | get_request_header_value (const char *key, size_t id=0) const |
template<typename T > | |
T | get_request_header_value (const char *key, size_t id=0) const |
size_t | get_request_header_value_count (const char *key) const |
|
inline |
|
inline |
std::string httplib::Result::get_request_header_value | ( | const char * | key, |
size_t | id = 0 |
||
) | const |
T httplib::Result::get_request_header_value | ( | const char * | key, |
size_t | id = 0 |
||
) | const |
size_t httplib::Result::get_request_header_value_count | ( | const char * | key | ) | const |
bool httplib::Result::has_request_header | ( | const char * | key | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |