Skip to main content

allowed_host

Method
This is a method of the SecurityConfig class in the mcp module.
Add allowed host

Signature

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

Parameters

host
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.