\FACTFinder\UtilCurlHandle

Struct-like class that represents all data associated with one curl handle

Summary

Methods
Properties
Constants
No public methods found
$options
$inMultiHandle
$durationLeft
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$options

$options : array<mixed,mixed>

Type

array<mixed,mixed> — map-like array of options that are set on the easy handle. Option-identifying integers as keys, mixed-type option values as values.

$inMultiHandle

$inMultiHandle : boolean

Type

boolean — Indicates if this easy handle is currently being used in a multi handle (@see CurlMultiHandle).

$durationLeft

$durationLeft : integer

Type

integer — If this handle is used in a multi handle (@see CurlMultiHandle), this indicates how many more times multi_select and multi_exec has to be called until this easy handle returns its response. This value will be set by the CurlStub when the handle is added to a multi handle. -1 is used while this easy handle is not used in a multi handle or when this handle has already returned its response while part of a multi handle.