Skip to main content

decide_host

Function decide_host 

Source
pub fn decide_host(policy: &CompiledPolicy<'_>, host: &str) -> Decision
Expand description

Decide whether host, normalised as Request::host reports it, may be reached. Only an allow lets the connection proceed.