websocket • Rust AI Agent SDK

websocket: Create a new WebSocket transport config

websocket

Method

</div>

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

Create a new WebSocket transport config

Signature

python
def websocket(url: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation