Skip to main content

get_client_ip

Function get_client_ip 

Source
pub async fn get_client_ip(
    configuration: &Configuration,
) -> Result<String, Error<GetClientIpError>>
Expand description

The address of the client making the request, as Windmill resolves it for per-IP checks such as token IP allowlists: forwarding headers are believed only from the proxies in TRUSTED_PROXIES. Behind a proxy that is not listed, this is the proxy’s address. Empty when the server cannot tell.