Skip to main content

validate_origin

Function validate_origin 

Source
pub fn validate_origin(origin: &str) -> Result<(), AuthProtocolError>
Expand description

The origin field: scheme://host[:port] per RFC 6454 (Section 4.2).