Skip to main content

is_forwarded

Function is_forwarded 

Source
pub(crate) fn is_forwarded(headers: &HeaderMap) -> bool
Expand description

Whether the request came through a proxy or a tunnel, by the headers one adds. The real client sends none of them.