iceberg-cpp
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
http_request.h File Reference

Define REST HTTP request types. More...

#include <algorithm>
#include <cctype>
#include <cstddef>
#include <cstdint>
#include <map>
#include <string>
#include <string_view>
#include "iceberg/catalog/rest/iceberg_rest_export.h"

Go to the source code of this file.

Classes

struct  iceberg::rest::CaseInsensitiveHeaderLess
 Case-insensitive ordering for HTTP header names. More...
 
struct  iceberg::rest::HttpRequest
 An outgoing HTTP request. Mirrors Java's HttpRequest so signing implementations like SigV4 see method, url, headers, and body together. More...
 

Namespaces

namespace  iceberg
 Core Apache Iceberg C++ APIs.
 
namespace  iceberg::rest
 REST catalog APIs.
 

Typedefs

using iceberg::rest::HttpHeaders = std::map< std::string, std::string, CaseInsensitiveHeaderLess >
 Single-value HTTP headers with case-insensitive names.
 

Enumerations

enum class  iceberg::rest::HttpMethod : uint8_t {
  kGet , kPost , kPut , kDelete ,
  kHead
}
 HTTP method enumeration.
 

Functions

constexpr std::string_view iceberg::rest::ToString (HttpMethod method)
 Convert HttpMethod to string representation.
 

Detailed Description

Define REST HTTP request types.