HTTP • Rust AI Agent SDK

http: Create a new HTTP transport config

http

Method

</div>

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

Create a new HTTP transport config

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.