HttpRedirectOptions
in package
Read onlyYes
HttpClient リダイレクト設定データ。
Table of Contents
Constants
- DEFAULT_AUTO_REFERER = true
- DEFAULT_COUNT = 20
Properties
- $autoReferer : bool
- $count : int
- $isEnabled : bool
Methods
- __construct() : mixed
- 生成
Constants
DEFAULT_AUTO_REFERER
public
mixed
DEFAULT_AUTO_REFERER
= true
DEFAULT_COUNT
public
mixed
DEFAULT_COUNT
= 20
Properties
$autoReferer
public
bool
$autoReferer
= self::DEFAULT_AUTO_REFERER
$count
public
int
$count
= self::DEFAULT_COUNT
$isEnabled
public
bool
$isEnabled
= true
Methods
__construct()
生成
public
__construct([bool $isEnabled = true ][, int $count = self::DEFAULT_COUNT ][, bool $autoReferer = self::DEFAULT_AUTO_REFERER ]) : mixed
Parameters
- $isEnabled : bool = true
-
リダイレクトするか
- $count : int = self::DEFAULT_COUNT
-
リダイレクト最大回数
- $autoReferer : bool = self::DEFAULT_AUTO_REFERER
-
リファラを付与するか