TrustedProxyResult
in package
FinalYes
信頼プロキシを経由したリクエストから解決した値。
Application が定義するプロキシ関連の定数を、グローバル状態へ反映する前に まとめて保持する不変の値オブジェクト。
Table of Contents
Properties
- $https : bool
- $remoteAddr : string
- $serverName : string
- $untrustedHttpsClaim : bool
Methods
- __construct() : mixed
Properties
$https read-only
public
bool
$https
$remoteAddr read-only
public
string
$remoteAddr
$serverName read-only
public
string
$serverName
$untrustedHttpsClaim read-only
public
bool
$untrustedHttpsClaim
Methods
__construct()
public
__construct(string $remoteAddr, bool $https, bool $untrustedHttpsClaim, string $serverName) : mixed
Parameters
- $remoteAddr : string
- $https : bool
- $untrustedHttpsClaim : bool
- $serverName : string