pub fn extract_forwarded_ip(value: &str) -> Option<String>Expand description
Returns the first forwarded client address when it is a valid IP literal.
§Parameters
value: Input consumed bycrate::http::extract_forwarded_ip.
§Returns
Returns Some when crate::http::extract_forwarded_ip 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::extract_forwarded_ip.
§Examples
ⓘ
let _result = pharos_runtime_core::http::extract_forwarded_ip("value");§Related
crate::httpfor adjacent helpers that share the same runtime surface.