NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
transport.hpp File Reference
#include "neuralplus/export.hpp"
#include "neuralplus/types.hpp"
#include <chrono>
#include <functional>
#include <memory>
#include <mutex>
#include <optional>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  neuralplus::HttpHeader
 One HTTP header. More...
 
struct  neuralplus::HttpRequest
 Provider-independent HTTP request. More...
 
struct  neuralplus::HttpResponse
 Provider-independent HTTP response. More...
 
class  neuralplus::HttpTransport
 
struct  neuralplus::HttpTransportOptions
 Settings for the built-in libcurl transport. More...
 
class  neuralplus::CurlHttpTransport
 
class  neuralplus::MockHttpTransport
 Deterministic callback transport that also records requests for tests. More...
 

Enumerations

enum class  neuralplus::HttpMethod {
  get , post , put , patch ,
  delete_
}
 HTTP method used by provider adapters.
 

Functions

NEURALPLUS_API std::shared_ptr< HttpTransportneuralplus::make_default_http_transport (HttpTransportOptions options={})
 Returns the built-in production HTTP transport.
 

Detailed Description

Provider-independent HTTP boundary and built-in transport implementations.