Skip to main content

sensitive_headers_mask

Function sensitive_headers_mask 

Source
pub fn sensitive_headers_mask(headers: &str) -> Option<String>
Expand description

Performs sensitive headers mask.

§Parameters

§Returns

Returns Some when crate::http::sensitive_headers_mask 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::http::sensitive_headers_mask.

§Examples

ⓘ
let _result = pharos_runtime_core::http::sensitive_headers_mask("host: example");
  • crate::http for adjacent helpers that share the same runtime surface.