Allowed Host • Rust AI Agent SDK

allowed_host: Add allowed host

allowed_host

Method

</div>

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

Add allowed host

Signature

python
def allowed_host(mut self, host: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.