transport • Rust AI Agent SDK

transport: Set transport

transport

Method

</div>

This is a method of the MCPConfig class in the mcp module.

Set transport

Signature

python
def transport(mut self, transport: TransportConfig) -> Self

Parameters

ParamField TransportConfig

No description available.

Returns

ResponseField Self

The result of the operation.