|
NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
|
#include <transport.hpp>
Public Member Functions | |
| virtual HttpResponse | send (const HttpRequest &request)=0 |
| Sends one complete request and returns its HTTP response. | |
Mockable HTTP boundary used by all built-in provider clients.
A transport may be shared by concurrent clients, so send implementations must be thread-safe.
|
pure virtual |
Sends one complete request and returns its HTTP response.
Implemented in neuralplus::CurlHttpTransport, and neuralplus::MockHttpTransport.