HttpClientOptions
in package
Read onlyYes
HttpClient 設定データ。
Table of Contents
Properties
- $proxy : HttpClientProxyOptions|null
- $redirect : HttpRedirectOptions
- $security : HttpClientSecurityOptions
- $urlEncoding : UrlEncoding
- $userAgent : string
Methods
- __construct() : mixed
Properties
$proxy
public
HttpClientProxyOptions|null
$proxy
= null
$redirect
public
HttpRedirectOptions
$redirect
= new HttpRedirectOptions()
$security
public
HttpClientSecurityOptions
$security
= new HttpClientSecurityOptions()
$urlEncoding
public
UrlEncoding
$urlEncoding
$userAgent
public
string
$userAgent
= Text::EMPTY
Methods
__construct()
public
__construct([string $userAgent = Text::EMPTY ][, HttpRedirectOptions $redirect = new HttpRedirectOptions() ][, HttpClientSecurityOptions $security = new HttpClientSecurityOptions() ][, HttpClientProxyOptions|null $proxy = null ][, UrlEncoding|null $urlEncoding = null ]) : mixed
Parameters
- $userAgent : string = Text::EMPTY
- $redirect : HttpRedirectOptions = new HttpRedirectOptions()
- $security : HttpClientSecurityOptions = new HttpClientSecurityOptions()
- $proxy : HttpClientProxyOptions|null = null
- $urlEncoding : UrlEncoding|null = null