Skip to main content

origin_of

Function origin_of 

Source
pub fn origin_of(config: &Config, host: &str) -> String
Expand description

Where host is reached: its origin in Config::peers when it has one, else https://<host>.