|
NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
|
Per-call knobs. More...
#include <http_client.h>
Public Attributes | |
| int | max_redirects = 0 |
| Max 3xx hops to follow automatically. | |
| std::chrono::milliseconds | timeout {0} |
| Per-hop deadline covering connect + handshake + write + read of one HTTP exchange. | |
Per-call knobs.
Default-constructed instance preserves the library's historical behavior (no timeout, no redirect-following).
Definition at line 66 of file http_client.h.
| int neograph::async::RequestOptions::max_redirects = 0 |
Max 3xx hops to follow automatically.
Zero (default) = never follow; the 3xx response comes straight back to the caller with location populated. Redirects preserve the POST method and body for all 3xx codes (pragmatic for the LLM/MCP hosts we target — no 303 → GET downgrade).
Definition at line 78 of file http_client.h.
| std::chrono::milliseconds neograph::async::RequestOptions::timeout {0} |
Per-hop deadline covering connect + handshake + write + read of one HTTP exchange.
Zero = no timeout (the default). Applied independently to each hop when following redirects rather than as a total budget.
Definition at line 71 of file http_client.h.