Skip to main content

request_origin

Function request_origin 

Source
pub fn request_origin(scheme: &str, host: &str) -> Result<String>
Expand description

Builds a bounded, normalized origin from product-trusted scheme and host values.

ยงErrors

Returns a classified error for malformed or oversized input.