Expand description
Actix helpers for trusted-proxy-aware client IP extraction.
The product-neutral parsing rules live in aster_forge_utils::net. This module only adapts
Actix HeaderMap values into those helpers so application services do not need to repeat
X-Forwarded-For extraction code.
Functionsยง
- real_
ip_ from_ headers - Resolves the client IP from Actix headers, a direct peer IP, and raw trusted proxy entries.
- real_
ip_ from_ trusted_ headers - Resolves the client IP from Actix headers, a direct peer IP, and parsed trusted proxy entries.