Configuration for the WebSocket server transport.
More...
#include <websocket_transport.hpp>
|
|
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.
|
| |
Configuration for the WebSocket server transport.
The documentation for this struct was generated from the following file: