NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
neuralplus::HttpTransportOptions Struct Reference

Settings for the built-in libcurl transport. More...

#include <transport.hpp>

Public Attributes

std::chrono::milliseconds connect_timeout {10000}
 TCP/TLS connection timeout.
 
bool verify_tls {true}
 Enables peer and host certificate verification.
 
std::string proxy
 Optional libcurl proxy URL; cleartext loopback URLs always bypass it.
 
std::string user_agent {"NeuralPlus"}
 HTTP User-Agent sent by the built-in transport.
 
std::size_t max_response_body_bytes {16U * 1024U * 1024U}
 Maximum response-body bytes accepted from a provider.
 
std::size_t max_response_header_bytes {256U * 1024U}
 Maximum aggregate response-header bytes accepted from a provider.
 

Detailed Description

Settings for the built-in libcurl transport.


The documentation for this struct was generated from the following file: