Expand description
Transport layer traits and abstractions
This module defines the core transport traits that enable MCP communication over different protocols like STDIO, HTTP, and WebSocket.
Structs§
- Reconnect
Config - Configuration for automatic reconnection
- Transport
Config - Transport configuration options
- Transport
Stats - Transport statistics for monitoring
Enums§
- Connection
State - Connection state for transports
- Transport
Event - Transport event for monitoring and debugging
Traits§
- Event
Emitting Transport - Trait for transports that support event listeners
- Filterable
Transport - Trait for transports that support message filtering
- Reconnectable
Transport - Trait for transports that support reconnection
- Server
Transport - Transport trait for MCP servers
- Transport
- Transport trait for MCP clients
- Transport
Stats_ - Trait for transports that support statistics