|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
Options for trusted_proxies(). More...
#include <TrustedProxies.hpp>
Public Attributes | |
| std::vector< std::string > | proxies |
| std::string | header = "X-Forwarded-For" |
| "X-Forwarded-For" (default) or "Forwarded" (RFC 7239). | |
Options for trusted_proxies().
| std::string orbit::middleware::TrustedProxyOptions::header = "X-Forwarded-For" |
"X-Forwarded-For" (default) or "Forwarded" (RFC 7239).
| std::vector<std::string> orbit::middleware::TrustedProxyOptions::proxies |
Proxies whose forwarding headers are believed: addresses or CIDRs, e.g. {"127.0.0.1", "10.0.0.0/8", "::1"}.