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

Configuration for the WebSocket server transport. More...

#include <websocket_transport.hpp>

Public Attributes

std::string listen_host = "127.0.0.1"
 Interface address to bind.
 
int listen_port = 0
 TCP port to listen on.
 
std::string path = "/mcp"
 WebSocket endpoint path pattern (e.g. "/mcp").
 
std::size_t max_connections = 1024
 Maximum concurrent WebSocket connections. 0 = unlimited.
 
time_t ping_interval_sec = 30
 WebSocket ping interval in seconds (0 = disabled).
 
int max_missed_pongs = 3
 Maximum missed pongs before dropping a client.
 

Detailed Description

Configuration for the WebSocket server transport.


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