Skip to main content

base_url

Function base_url 

Source
pub fn base_url(host: &str, base: Option<&Url>) -> Result<Url>
Expand description

https://<host>/, or base checked the way the adapter checks its instance URL: https, or http only on loopback (the token travels on every request). base must be on host, the repository’s own host (any port), so the token never goes to a server the resource does not name.