|
| | HttpClient (std::unordered_map< std::string, std::string > default_headers={}, std::chrono::milliseconds connection_timeout={}, std::chrono::milliseconds socket_timeout={}, std::optional< std::string > base_uri=std::nullopt) |
| |
|
| HttpClient (const HttpClient &)=delete |
| |
|
HttpClient & | operator= (const HttpClient &)=delete |
| |
|
| HttpClient (HttpClient &&)=delete |
| |
|
HttpClient & | operator= (HttpClient &&)=delete |
| |
|
virtual Result< HttpResponse > | Get (const std::string &path, const std::unordered_map< std::string, std::string > ¶ms, const std::unordered_map< std::string, std::string > &headers, const ErrorHandler &error_handler, auth::AuthSession &session) |
| | Sends a GET request.
|
| |
|
virtual Result< HttpResponse > | Post (const std::string &path, const std::string &body, const std::unordered_map< std::string, std::string > &headers, const ErrorHandler &error_handler, auth::AuthSession &session) |
| | Sends a POST request.
|
| |
|
virtual Result< HttpResponse > | PostForm (const std::string &path, const std::unordered_map< std::string, std::string > &form_data, const std::unordered_map< std::string, std::string > &headers, const ErrorHandler &error_handler, auth::AuthSession &session) |
| | Sends a POST request with form data.
|
| |
|
virtual Result< HttpResponse > | Head (const std::string &path, const std::unordered_map< std::string, std::string > &headers, const ErrorHandler &error_handler, auth::AuthSession &session) |
| | Sends a HEAD request.
|
| |
|
virtual Result< HttpResponse > | Delete (const std::string &path, const std::unordered_map< std::string, std::string > ¶ms, const std::unordered_map< std::string, std::string > &headers, const ErrorHandler &error_handler, auth::AuthSession &session) |
| | Sends a DELETE request.
|
| |
HTTP client for making requests to Iceberg REST Catalog API.