Transport Type • Rust AI Agent SDK
TransportType: Transport type for MCP connections.
TransportType
Defined in the MCP module.
Rust AI Agent SDK
Transport type for MCP connections.
Fields
| Name | Type | Description |
|---|---|---|
Standard | variant | – |
input | variant | – |
output | variant | – |
default | variant | Standard input/output (subprocess) |
Stdio | variant | Standard input/output (subprocess) |
Server | variant | – |
Sent | variant | – |
Events | variant | – |
Sse | variant | Server-Sent Events (legacy HTTP+SSE) |
Streamable | variant | – |
HTTP | variant | – |
HttpStream | variant | Streamable HTTP (current standard) |
WebSocket | variant | – |
WebSocket | variant | WebSocket |
Source
View on GitHubpraisonai/src/mcp/mod.rs at line 0