HttpClientInformation
in package
Table of Contents
Properties
- $rawItems : array<string|int, mixed>
- $request : HttpClientRequest
- $urlEncoding : UrlEncoding
Methods
- __construct() : mixed
- 生成。
- create() : self
- getEffectiveUrl() : Url
- getHeaderSize() : int
- getHttpStatus() : HttpStatus
- getRedirectCount() : int
Properties
$rawItems read-only
public
array<string|int, mixed>
$rawItems
$request read-only
protected
HttpClientRequest
$request
$urlEncoding read-only
protected
UrlEncoding
$urlEncoding
Methods
__construct()
生成。
public
__construct(UrlEncoding $urlEncoding, HttpClientRequest $request, array<string, mixed> $rawItems) : mixed
Parameters
- $urlEncoding : UrlEncoding
- $request : HttpClientRequest
- $rawItems : array<string, mixed>
Tags
create()
public
static create(UrlEncoding $urlEncoding, HttpClientRequest $request, CurlHandle $curlHandle) : self
Parameters
- $urlEncoding : UrlEncoding
- $request : HttpClientRequest
- $curlHandle : CurlHandle
Return values
selfgetEffectiveUrl()
public
getEffectiveUrl() : Url
Return values
UrlgetHeaderSize()
public
getHeaderSize() : int
Return values
intgetHttpStatus()
public
getHttpStatus() : HttpStatus
Return values
HttpStatusgetRedirectCount()
public
getRedirectCount() : int