Cppinecone
A C++ client for the Pinecone vector database
http_client.hpp File Reference

A bare-bones HTTP client implementation. More...

#include <cassert>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <variant>
#include <curl/curl.h>
#include <curl/easy.h>
#include <nlohmann/json.hpp>
#include "pinecone/domain/method.hpp"
#include "pinecone/domain/operation.hpp"
#include "pinecone/domain/operation_type.hpp"
#include "pinecone/net/arguments.hpp"
#include "pinecone/util/result.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pinecone::net::http_client< threading_mode::sync >
 A synchronous HTTP client implementation. More...
 

Typedefs

using json = nlohmann::json
 

Detailed Description

A bare-bones HTTP client implementation.

Cppinecone uses CURL for all networking functionality. http_client is a simple wrapper around the native CURL libraries to make things slightly more ergonomic and idiomatic for C++.

Definition in file http_client.hpp.