Skip to main content

address_of

Function address_of 

Source
fn address_of(url: &str) -> &str
Expand description

The part of a request address that names where it goes: the scheme and the host. The request is made the way a browser reads a URL, so any run of slashes or backslashes after the scheme (https:/x, https:///x) is one //, and a backslash ends the host as a slash does. A delimiter inside a {{reference | filter:arg}}, or a : inside one, does not count.