|
|
Namespaces | |
| detail | |
Classes | |
| class | Client |
| class | ClientImpl |
| class | ContentReader |
| class | DataSink |
| struct | MultipartFormData |
| struct | MultipartFormDataProvider |
| 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 | ContentProviderResourceReleaser = std::function< void(bool success)> |
| 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::unordered_multimap< std::string, std::string, detail::case_ignore::hash, detail::case_ignore::equal_to > |
| 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 | MultipartFormDataProviderItems = std::vector< MultipartFormDataProvider > |
| 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)> |
Functions | |
| std::string | append_query_params (const std::string &path, const Params ¶ms) |
| void | default_socket_options (socket_t sock) |
| std::string | get_bearer_token_auth (const Request &req) |
| std::string | hosted_at (const std::string &hostname) |
| void | hosted_at (const std::string &hostname, std::vector< std::string > &addrs) |
| std::pair< std::string, std::string > | make_basic_authentication_header (const std::string &username, const std::string &password, bool is_proxy=false) |
| std::pair< std::string, std::string > | make_bearer_token_authentication_header (const std::string &token, bool is_proxy=false) |
| std::pair< std::string, std::string > | make_range_header (const Ranges &ranges) |
| std::ostream & | operator<< (std::ostream &os, const Error &obj) |
| const char * | status_message (int status) |
| std::string | to_string (Error error) |
| using ContentProvider = std::function<bool(size_t offset, size_t length, DataSink &sink)> |
| using ContentProviderResourceReleaser = std::function<void(bool success)> |
| 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::unordered_multimap<std::string, std::string, detail::case_ignore::hash, detail::case_ignore::equal_to> |
| using MultipartContentHeader = std::function<bool(const MultipartFormData &file)> |
| using MultipartFormDataItems = std::vector<MultipartFormData> |
| using MultipartFormDataMap = std::multimap<std::string, MultipartFormData> |
| using MultipartFormDataProviderItems = std::vector<MultipartFormDataProvider> |
| using Progress = std::function<bool(uint64_t current, uint64_t total)> |
| using ResponseHandler = std::function<bool(const Response &response)> |
| using SocketOptions = std::function<void(socket_t sock)> |
|
strong |
| enum StatusCode |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |