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

Adapter from the concrete client 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/client/client.hpp"
#include "cxxmcp/error.hpp"
#include "cxxmcp/protocol/serialization.hpp"
#include "cxxmcp/transport/transport.hpp"

Go to the source code of this file.

Classes

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

Functions

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

Detailed Description

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