cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
transport_adapter.hpp File Reference

Adapter from the concrete server transport API to the SDK transport contract. More...

#include <deque>
#include <exception>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <utility>
#include <variant>
#include "cxxmcp/error.hpp"
#include "cxxmcp/protocol/serialization.hpp"
#include "cxxmcp/server/transport.hpp"
#include "cxxmcp/transport/transport.hpp"

Go to the source code of this file.

Classes

class  mcp::server::TransportContractAdapter
 Adapts an existing server::Transport to transport::ServerTransport. More...
 
class  mcp::server::ContractTransportAdapter
 Adapts a transport::ServerTransport to the existing server::Transport API. More...
 

Functions

core::Error mcp::server::detail::adapter_error (std::string_view message)
 

Detailed Description

Adapter from the concrete server transport API to the SDK transport contract.