pub fn normalized_public_origin(configured_origin: &str) -> Option<String>Expand description
Normalizes a public origin and rejects control characters or unsupported schemes.
§Parameters
configured_origin: Input consumed bycrate::runtime::dynamic::normalized_public_origin.
§Returns
Returns Some when crate::runtime::dynamic::normalized_public_origin can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::normalized_public_origin.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::normalized_public_origin(todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.