Skip to main content

absolute

Function absolute 

Source
pub fn absolute(base: &str, href: &str) -> String
Expand description

href made absolute against base (“https://host/a/b/” + “/c/” → “https://host/c/”). An absolute href is kept as it is, whatever its server: the login goes only to the account’s own (Client::keep_to).