Skip to main content

proxy_claim

Function proxy_claim 

Source
pub fn proxy_claim(registration: &Registration) -> Result<Option<&'static str>>
Expand description

MSC4512: the allowed prefix a registration claims, if it claims one.

Both keys are given or neither. One trailing slash is dropped from each; the prefix must then equal an allowed one, and the URL must be an http or https URL, or a Unix socket where this platform has them.