//! The [`Transport`] enum — choice of MCP wire transport.
use SocketAddr;
/// MCP transport selection.
///
/// `Stdio` is the default: the server reads JSON-RPC messages from
/// stdin and writes responses to stdout. This is what MCP clients
/// expect when they spawn a server as a subprocess.
///
/// `Sse` and `Http` are listed for forward-compatibility with the
/// approved `rtb-mcp v0.1` spec but are stubbed in this release —
/// invoking them returns [`crate::McpError::Transport`]. The full
/// `rmcp::transport::streamable_http_server` wiring (which
/// supersedes the standalone SSE transport in `rmcp` 0.16) lands in
/// a v0.3.x point release.