Skip to main content

resolve

Function resolve 

Source
pub fn resolve(raw_host: Option<&str>, configured: &Url) -> RequestBaseUrl
Expand description

Exposed for unit testing; production callers use the FromRequestParts impl, which reads the Host header and global config.