websocket • Rust AI Agent SDK

websocket: Set WebSocket server

websocket

Method

</div>

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

Set WebSocket server

Signature

python
def websocket(mut self, 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