Zend\Http\PhpEnvironment\RemoteAddress::setUseProxy
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.
Signature
public function setUseProxy([bool
$useProxy = true] )
Parameters
$useProxy
— object- Whether to check also proxied IP addresses.
Returns
- RemoteAddress