cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::RequestOptions Struct Reference

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::Jsonmeta
 Optional protocol metadata attached to the request envelope.
 
std::optional< CancellationTokencancellation_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.
 

Detailed Description

Options for an outbound SDK request.


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