|
cxxmcp 1.1.6
C++ MCP SDK
|
Options for an outbound SDK request. More...
#include <request.hpp>
Public Attributes | |
| std::optional< std::chrono::milliseconds > | timeout |
| Optional timeout applied when awaiting the response. | |
| std::optional< protocol::Json > | meta |
| Optional protocol metadata attached to the request envelope. | |
| std::optional< CancellationToken > | cancellation_token |
| Optional cooperative cancellation token observed while awaiting the response. | |
| std::unordered_map< std::string, std::string > | headers |
| Per-request HTTP headers merged into the transport layer. | |
| std::optional< std::string > | protocol_version |
| Optional override for the MCP-Protocol-Version header sent on this request. | |
Options for an outbound SDK request.