MCPcopy Create free account
hub / github.com/ClickHouse/ai-sdk-cpp / HttpConfig

Class HttpConfig

src/http/http_request_handler.h:15–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace http {
14
15struct HttpConfig {
16 std::string host;
17 std::string base_path; // Base path from URL (e.g., "/api" from
18 // "https://openrouter.ai/api")
19 bool use_ssl = true;
20 int connection_timeout_sec = 30;
21 int read_timeout_sec = 120;
22 bool verify_ssl_cert = true;
23
24 // Retry configuration
25 retry::RetryConfig retry_config;
26};
27
28class HttpRequestHandler {
29 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected