Functionality for determining client IP address.
Changes proxy handling setting.
This must be static method, since validators are recovered automatically at session read, so this is the only way to switch setting.
Parameters: | bool – Whether to check also proxied IP addresses. |
---|---|
Return type: | RemoteAddress |
Checks proxy handling setting.
Return type: | bool Current setting value. |
---|
Set list of trusted proxy addresses
Parameters: | array – |
---|---|
Return type: | RemoteAddress |
Set the header to introspect for proxy IPs
Parameters: | string – |
---|---|
Return type: | RemoteAddress |