iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::rest::HttpClient Class Reference

HTTP client for making requests to Iceberg REST Catalog API. More...

#include <http_client.h>

Public Member Functions

 HttpClient (std::unordered_map< std::string, std::string > default_headers={})
 
 HttpClient (const HttpClient &)=delete
 
HttpClientoperator= (const HttpClient &)=delete
 
 HttpClient (HttpClient &&)=delete
 
HttpClientoperator= (HttpClient &&)=delete
 
Result< HttpResponseGet (const std::string &path, const std::unordered_map< std::string, std::string > &params, const std::unordered_map< std::string, std::string > &headers, const ErrorHandler &error_handler, auth::AuthSession &session)
 Sends a GET request.
 
Result< HttpResponsePost (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.
 
Result< HttpResponsePostForm (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.
 
Result< HttpResponseHead (const std::string &path, const std::unordered_map< std::string, std::string > &headers, const ErrorHandler &error_handler, auth::AuthSession &session)
 Sends a HEAD request.
 
Result< HttpResponseDelete (const std::string &path, const std::unordered_map< std::string, std::string > &params, const std::unordered_map< std::string, std::string > &headers, const ErrorHandler &error_handler, auth::AuthSession &session)
 Sends a DELETE request.
 

Detailed Description

HTTP client for making requests to Iceberg REST Catalog API.


The documentation for this class was generated from the following files: