9 namespace pinecone::net
35 _api_key_header(
"Api-Key: " + _api_key)
39 [[nodiscard]]
auto environment() const noexcept ->
std::
string const& {
return _environment; }
41 [[nodiscard]]
auto api_key() const noexcept ->
std::
string const& {
return _api_key; }
48 return _api_key_header.
c_str();
threading_mode
Threading behaviors supported by http_client.
@ sync
Synchronous operation; in this mode, http_client instances are not thread-safe.
Arguments required to connect to a Pinecone server.
auto api_key_header() const noexcept -> char const *
connection_args(std::string environment, std::string api_key) noexcept
Construct a new connection args object.