|
| | ClientImpl (const std::string &host) |
| |
| | ClientImpl (const std::string &host, int port) |
| |
| | ClientImpl (const std::string &host, int port, const std::string &client_cert_path, const std::string &client_key_path) |
| |
| Result | Delete (const std::string &path) |
| |
| Result | Delete (const std::string &path, const char *body, size_t content_length, const std::string &content_type) |
| |
| Result | Delete (const std::string &path, const char *body, size_t content_length, const std::string &content_type, Progress progress) |
| |
| Result | Delete (const std::string &path, const Headers &headers) |
| |
| Result | Delete (const std::string &path, const Headers &headers, const char *body, size_t content_length, const std::string &content_type) |
| |
| Result | Delete (const std::string &path, const Headers &headers, const char *body, size_t content_length, const std::string &content_type, Progress progress) |
| |
| Result | Delete (const std::string &path, const Headers &headers, const std::string &body, const std::string &content_type) |
| |
| Result | Delete (const std::string &path, const Headers &headers, const std::string &body, const std::string &content_type, Progress progress) |
| |
| Result | Delete (const std::string &path, const std::string &body, const std::string &content_type) |
| |
| Result | Delete (const std::string &path, const std::string &body, const std::string &content_type, Progress progress) |
| |
| Result | Get (const std::string &path) |
| |
| Result | Get (const std::string &path, const Headers &headers) |
| |
| Result | Get (const std::string &path, const Headers &headers, ContentReceiver content_receiver) |
| |
| Result | Get (const std::string &path, const Headers &headers, ContentReceiver content_receiver, Progress progress) |
| |
| Result | Get (const std::string &path, const Headers &headers, Progress progress) |
| |
| Result | Get (const std::string &path, const Headers &headers, ResponseHandler response_handler, ContentReceiver content_receiver) |
| |
| Result | Get (const std::string &path, const Headers &headers, ResponseHandler response_handler, ContentReceiver content_receiver, Progress progress) |
| |
| Result | Get (const std::string &path, const Params ¶ms, const Headers &headers, ContentReceiver content_receiver, Progress progress=nullptr) |
| |
| Result | Get (const std::string &path, const Params ¶ms, const Headers &headers, Progress progress=nullptr) |
| |
| Result | Get (const std::string &path, const Params ¶ms, const Headers &headers, ResponseHandler response_handler, ContentReceiver content_receiver, Progress progress=nullptr) |
| |
| Result | Get (const std::string &path, ContentReceiver content_receiver) |
| |
| Result | Get (const std::string &path, ContentReceiver content_receiver, Progress progress) |
| |
| Result | Get (const std::string &path, Progress progress) |
| |
| Result | Get (const std::string &path, ResponseHandler response_handler, ContentReceiver content_receiver) |
| |
| Result | Get (const std::string &path, ResponseHandler response_handler, ContentReceiver content_receiver, Progress progress) |
| |
| Result | Head (const std::string &path) |
| |
| Result | Head (const std::string &path, const Headers &headers) |
| |
| std::string | host () const |
| |
| size_t | is_socket_open () const |
| |
| virtual bool | is_valid () const |
| |
| Result | Options (const std::string &path) |
| |
| Result | Options (const std::string &path, const Headers &headers) |
| |
| Result | Patch (const std::string &path) |
| |
| Result | Patch (const std::string &path, const char *body, size_t content_length, const std::string &content_type) |
| |
| Result | Patch (const std::string &path, const char *body, size_t content_length, const std::string &content_type, Progress progress) |
| |
| Result | Patch (const std::string &path, const Headers &headers, const char *body, size_t content_length, const std::string &content_type) |
| |
| Result | Patch (const std::string &path, const Headers &headers, const char *body, size_t content_length, const std::string &content_type, Progress progress) |
| |
| Result | Patch (const std::string &path, const Headers &headers, const std::string &body, const std::string &content_type) |
| |
| Result | Patch (const std::string &path, const Headers &headers, const std::string &body, const std::string &content_type, Progress progress) |
| |
| Result | Patch (const std::string &path, const Headers &headers, ContentProviderWithoutLength content_provider, const std::string &content_type) |
| |
| Result | Patch (const std::string &path, const Headers &headers, size_t content_length, ContentProvider content_provider, const std::string &content_type) |
| |
| Result | Patch (const std::string &path, const std::string &body, const std::string &content_type) |
| |
| Result | Patch (const std::string &path, const std::string &body, const std::string &content_type, Progress progress) |
| |
| Result | Patch (const std::string &path, ContentProviderWithoutLength content_provider, const std::string &content_type) |
| |
| Result | Patch (const std::string &path, size_t content_length, ContentProvider content_provider, const std::string &content_type) |
| |
| int | port () const |
| |
| Result | Post (const std::string &path) |
| |
| Result | Post (const std::string &path, const char *body, size_t content_length, const std::string &content_type) |
| |
| Result | Post (const std::string &path, const Headers &headers) |
| |
| Result | Post (const std::string &path, const Headers &headers, const char *body, size_t content_length, const std::string &content_type) |
| |
| Result | Post (const std::string &path, const Headers &headers, const char *body, size_t content_length, const std::string &content_type, Progress progress) |
| |
| Result | Post (const std::string &path, const Headers &headers, const MultipartFormDataItems &items) |
| |
| Result | Post (const std::string &path, const Headers &headers, const MultipartFormDataItems &items, const MultipartFormDataProviderItems &provider_items) |
| |
| Result | Post (const std::string &path, const Headers &headers, const MultipartFormDataItems &items, const std::string &boundary) |
| |
| Result | Post (const std::string &path, const Headers &headers, const Params ¶ms) |
| |
| Result | Post (const std::string &path, const Headers &headers, const Params ¶ms, Progress progress) |
| |
| Result | Post (const std::string &path, const Headers &headers, const std::string &body, const std::string &content_type) |
| |
| Result | Post (const std::string &path, const Headers &headers, const std::string &body, const std::string &content_type, Progress progress) |
| |
| Result | Post (const std::string &path, const Headers &headers, ContentProviderWithoutLength content_provider, const std::string &content_type) |
| |
| Result | Post (const std::string &path, const Headers &headers, size_t content_length, ContentProvider content_provider, const std::string &content_type) |
| |
| Result | Post (const std::string &path, const MultipartFormDataItems &items) |
| |
| Result | Post (const std::string &path, const Params ¶ms) |
| |
| Result | Post (const std::string &path, const std::string &body, const std::string &content_type) |
| |
| Result | Post (const std::string &path, const std::string &body, const std::string &content_type, Progress progress) |
| |
| Result | Post (const std::string &path, ContentProviderWithoutLength content_provider, const std::string &content_type) |
| |
| Result | Post (const std::string &path, size_t content_length, ContentProvider content_provider, const std::string &content_type) |
| |
| Result | Put (const std::string &path) |
| |
| Result | Put (const std::string &path, const char *body, size_t content_length, const std::string &content_type) |
| |
| Result | Put (const std::string &path, const Headers &headers, const char *body, size_t content_length, const std::string &content_type) |
| |
| Result | Put (const std::string &path, const Headers &headers, const char *body, size_t content_length, const std::string &content_type, Progress progress) |
| |
| Result | Put (const std::string &path, const Headers &headers, const MultipartFormDataItems &items) |
| |
| Result | Put (const std::string &path, const Headers &headers, const MultipartFormDataItems &items, const MultipartFormDataProviderItems &provider_items) |
| |
| Result | Put (const std::string &path, const Headers &headers, const MultipartFormDataItems &items, const std::string &boundary) |
| |
| Result | Put (const std::string &path, const Headers &headers, const Params ¶ms) |
| |
| Result | Put (const std::string &path, const Headers &headers, const Params ¶ms, Progress progress) |
| |
| Result | Put (const std::string &path, const Headers &headers, const std::string &body, const std::string &content_type) |
| |
| Result | Put (const std::string &path, const Headers &headers, const std::string &body, const std::string &content_type, Progress progress) |
| |
| Result | Put (const std::string &path, const Headers &headers, ContentProviderWithoutLength content_provider, const std::string &content_type) |
| |
| Result | Put (const std::string &path, const Headers &headers, size_t content_length, ContentProvider content_provider, const std::string &content_type) |
| |
| Result | Put (const std::string &path, const MultipartFormDataItems &items) |
| |
| Result | Put (const std::string &path, const Params ¶ms) |
| |
| Result | Put (const std::string &path, const std::string &body, const std::string &content_type) |
| |
| Result | Put (const std::string &path, const std::string &body, const std::string &content_type, Progress progress) |
| |
| Result | Put (const std::string &path, ContentProviderWithoutLength content_provider, const std::string &content_type) |
| |
| Result | Put (const std::string &path, size_t content_length, ContentProvider content_provider, const std::string &content_type) |
| |
| Result | send (const Request &req) |
| |
| bool | send (Request &req, Response &res, Error &error) |
| |
| void | set_address_family (int family) |
| |
| void | set_basic_auth (const std::string &username, const std::string &password) |
| |
| void | set_bearer_token_auth (const std::string &token) |
| |
| void | set_compress (bool on) |
| |
| template<class Rep , class Period > |
| void | set_connection_timeout (const std::chrono::duration< Rep, Period > &duration) |
| |
| void | set_connection_timeout (time_t sec, time_t usec=0) |
| |
| void | set_decompress (bool on) |
| |
| void | set_default_headers (Headers headers) |
| |
| void | set_follow_location (bool on) |
| |
| void | set_header_writer (std::function< ssize_t(Stream &, Headers &)> const &writer) |
| |
| void | set_hostname_addr_map (std::map< std::string, std::string > addr_map) |
| |
| void | set_interface (const std::string &intf) |
| |
| void | set_ipv6_v6only (bool on) |
| |
| void | set_keep_alive (bool on) |
| |
| void | set_logger (Logger logger) |
| |
| void | set_proxy (const std::string &host, int port) |
| |
| void | set_proxy_basic_auth (const std::string &username, const std::string &password) |
| |
| void | set_proxy_bearer_token_auth (const std::string &token) |
| |
| template<class Rep , class Period > |
| void | set_read_timeout (const std::chrono::duration< Rep, Period > &duration) |
| |
| void | set_read_timeout (time_t sec, time_t usec=0) |
| |
| void | set_socket_options (SocketOptions socket_options) |
| |
| void | set_tcp_nodelay (bool on) |
| |
| void | set_url_encode (bool on) |
| |
| template<class Rep , class Period > |
| void | set_write_timeout (const std::chrono::duration< Rep, Period > &duration) |
| |
| void | set_write_timeout (time_t sec, time_t usec=0) |
| |
| socket_t | socket () const |
| |
| void | stop () |
| |
| virtual | ~ClientImpl () |
| |