MethodsPropertiesConstantsNo public methods foundNo public properties foundNo constants foundNo protected methods found$proxies $headers N/ANo private methods foundNo private properties foundN/A
Properties
$proxies
$proxies : array|string|null
The trusted proxies for this application.
Type
array|string|null
$headers
$headers : integer
The headers that should be used to detect proxies.
Type
integer
TrustProxies.php
<?phpnamespaceApp\Http\Middleware;useFideloper\Proxy\TrustProxiesas Middleware;useIlluminate\Http\Request;classTrustProxiesextendsMiddleware{/**
* The trusted proxies for this application.
*
* @var array|string|null
*/protected$proxies;/**
* The headers that should be used to detect proxies.
*
* @var int
*/protected$headers=Request::HEADER_X_FORWARDED_ALL;}