Documentation

TrustProxies extends TrustProxies

Table of Contents

$headers  : int
The headers that should be used to detect proxies.
$proxies  : array<string|int, mixed>|string|null
The trusted proxies for this application.

Properties

$headers

The headers that should be used to detect proxies.

protected int $headers = IlluminateHttpRequest::HEADER_X_FORWARDED_FOR | IlluminateHttpRequest::HEADER_X_FORWARDED_HOST | IlluminateHttpRequest::HEADER_X_FORWARDED_PORT | IlluminateHttpRequest::HEADER_X_FORWARDED_PROTO | IlluminateHttpRequest::HEADER_X_FORWARDED_AWS_ELB

$proxies

The trusted proxies for this application.

protected array<string|int, mixed>|string|null $proxies

Search results