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

Role-generic client transport for Streamable HTTP MCP servers. More...

#include <chrono>
#include <cstddef>
#include <functional>
#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <vector>
#include "cxxmcp/transport/transport.hpp"

Go to the source code of this file.

Classes

struct  mcp::transport::StreamableHttpAuthChallenge
 HTTP auth challenge observed by Streamable HTTP client transport. More...
 
struct  mcp::transport::StreamableHttpClientTransportOptions
 Configuration for a Streamable HTTP client transport. More...
 
class  mcp::transport::StreamableHttpClientTransport
 Native transport-contract client for Streamable HTTP. More...
 
struct  mcp::transport::StreamableHttpServerTransportOptions
 Configuration for a Streamable HTTP server transport. More...
 
struct  mcp::transport::StreamableHttpServerMessageContext
 HTTP metadata captured for the most recently received server-side Streamable HTTP message. More...
 
class  mcp::transport::StreamableHttpServerTransport
 Native transport-contract server for Streamable HTTP. More...
 

Typedefs

using mcp::transport::StreamableHttpAuthRefreshHandler = std::function< std::optional< std::string >(const StreamableHttpAuthChallenge &)>
 Application hook used for one-shot bearer refresh on HTTP 401.
 

Detailed Description

Role-generic client transport for Streamable HTTP MCP servers.