![]() |
D++ (DPP)
C++ Discord API Bot Library
|
Namespaces | |
| namespace | detail |
Classes | |
| class | Client |
| class | ClientImpl |
| class | ContentReader |
| class | DataSink |
| struct | MultipartFormData |
| struct | Request |
| struct | Response |
| class | Result |
| class | Server |
| class | Stream |
| class | TaskQueue |
| class | ThreadPool |
Typedefs | |
| using | ContentProvider = std::function< bool(size_t offset, size_t length, DataSink &sink)> |
| using | ContentProviderWithoutLength = std::function< bool(size_t offset, DataSink &sink)> |
| using | ContentReceiver = std::function< bool(const char *data, size_t data_length)> |
| using | ContentReceiverWithProgress = std::function< bool(const char *data, size_t data_length, uint64_t offset, uint64_t total_length)> |
| using | Headers = std::multimap< std::string, std::string, detail::ci > |
| using | Logger = std::function< void(const Request &, const Response &)> |
| using | Match = std::smatch |
| using | MultipartContentHeader = std::function< bool(const MultipartFormData &file)> |
| using | MultipartFormDataItems = std::vector< MultipartFormData > |
| using | MultipartFormDataMap = std::multimap< std::string, MultipartFormData > |
| using | Params = std::multimap< std::string, std::string > |
| using | Progress = std::function< bool(uint64_t current, uint64_t total)> |
| using | Range = std::pair< ssize_t, ssize_t > |
| using | Ranges = std::vector< Range > |
| using | ResponseHandler = std::function< bool(const Response &response)> |
| using | SocketOptions = std::function< void(socket_t sock)> |
Enumerations | |
| enum class | Error { Success = 0 , Unknown , Connection , BindIPAddress , Read , Write , ExceedRedirectCount , Canceled , SSLConnection , SSLLoadingCerts , SSLServerVerification , UnsupportedMultipartBoundaryChars , Compression } |
Functions | |
| void | default_socket_options (socket_t sock) |
| std::ostream & | operator<< (std::ostream &os, const Error &obj) |
| using httplib::ContentProvider = typedef std::function<bool(size_t offset, size_t length, DataSink &sink)> |
| using httplib::ContentProviderWithoutLength = typedef std::function<bool(size_t offset, DataSink &sink)> |
| using httplib::ContentReceiver = typedef std::function<bool(const char *data, size_t data_length)> |
| using httplib::ContentReceiverWithProgress = typedef std::function<bool(const char *data, size_t data_length, uint64_t offset, uint64_t total_length)> |
| using httplib::Headers = typedef std::multimap<std::string, std::string, detail::ci> |
| using httplib::Logger = typedef std::function<void(const Request &, const Response &)> |
| using httplib::Match = typedef std::smatch |
| using httplib::MultipartContentHeader = typedef std::function<bool(const MultipartFormData &file)> |
| using httplib::MultipartFormDataItems = typedef std::vector<MultipartFormData> |
| using httplib::MultipartFormDataMap = typedef std::multimap<std::string, MultipartFormData> |
| using httplib::Params = typedef std::multimap<std::string, std::string> |
| using httplib::Progress = typedef std::function<bool(uint64_t current, uint64_t total)> |
| using httplib::Range = typedef std::pair<ssize_t, ssize_t> |
| using httplib::Ranges = typedef std::vector<Range> |
| using httplib::ResponseHandler = typedef std::function<bool(const Response &response)> |
| using httplib::SocketOptions = typedef std::function<void(socket_t sock)> |
|
strong |
|
inline |
|
inline |