- CURLINFO_SSL_VERIFYRESULT
-
+
+
+ NEVER_OVERWRITE
+
@@ -376,10 +391,10 @@
- public
+ private
mixed
- CURLINFO_SSL_VERIFYRESULT
- = [0 => 'ok the operation was successful.', 2 => 'unable to get issuer certificate', 3 => 'unable to get certificate CRL', 4 => 'unable to decrypt certificate\'s signature', 5 => 'unable to decrypt CRL\'s signature', 6 => 'unable to decode issuer public key', 7 => 'certificate signature failure', 8 => 'CRL signature failure', 9 => 'certificate is not yet valid', 10 => 'certificate has expired', 11 => 'CRL is not yet valid', 12 => 'CRL has expired', 13 => 'format error in certificate\'s notBefore field', 14 => 'format error in certificate\'s notAfter field', 15 => 'format error in CRL\'s lastUpdate field', 16 => 'format error in CRL\'s nextUpdate field', 17 => 'out of memory', 18 => 'self signed certificate', 19 => 'self signed certificate in certificate chain', 20 => 'unable to get local issuer certificate', 21 => 'unable to verify the first certificate', 22 => 'certificate chain too long', 23 => 'certificate revoked', 24 => 'invalid CA certificate', 25 => 'path length constraint exceeded', 26 => 'unsupported certificate purpose', 27 => 'certificate not trusted', 28 => 'certificate rejected', 29 => 'subject issuer mismatch', 30 => 'authority and subject key identifier mismatch', 31 => 'authority and issuer serial number mismatch', 32 => 'key usage does not include certificate signing', 50 => 'application verification failure']
+ NEVER_OVERWRITE
+ = [\CURLOPT_CAINFO, \CURLOPT_CAPATH, \CURLOPT_DOH_URL, \CURLOPT_CUSTOMREQUEST, \CURLOPT_HTTPHEADER, \CURLOPT_NOBODY, \CURLOPT_FORBID_REUSE, \CURLOPT_FRESH_CONNECT]
@@ -401,7 +416,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -414,16 +429,16 @@
- protected
- CurlHandle|null
+ private
+ CurlHandle
$curl
- = null
+
@@ -434,7 +449,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -447,13 +462,13 @@
- protected
+ private
array<string|int, mixed>
$curlOptions
= []
@@ -467,7 +482,40 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
+ "
+>
+
+ $handleID
+
+
+
+
+
+
+
+
+
+ private
+ int
+ $handleID
+
+
+
+
+
+
+
+
@@ -480,13 +528,13 @@
- protected
+ private
bool
$initialized
= false
@@ -500,7 +548,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -513,13 +561,13 @@
- protected
+ private
HTTPOptions|SettingsContainerInterface
$options
@@ -533,7 +581,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -546,13 +594,13 @@
- protected
+ private
RequestInterface
$request
@@ -566,7 +614,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -579,13 +627,13 @@
- protected
+ private
StreamInterface
$requestBody
@@ -599,7 +647,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -612,13 +660,13 @@
- protected
+ private
ResponseInterface
$response
@@ -632,7 +680,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -645,13 +693,13 @@
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
closes the handle
+
public
- close() : static
+ close() : self
@@ -795,7 +844,7 @@
Return values
- static
+ self
@@ -813,11 +862,12 @@
-
+
+ NEVER_OVERWRITE +
@@ -376,10 +391,10 @@
- public
+ private
mixed
- CURLINFO_SSL_VERIFYRESULT
- = [0 => 'ok the operation was successful.', 2 => 'unable to get issuer certificate', 3 => 'unable to get certificate CRL', 4 => 'unable to decrypt certificate\'s signature', 5 => 'unable to decrypt CRL\'s signature', 6 => 'unable to decode issuer public key', 7 => 'certificate signature failure', 8 => 'CRL signature failure', 9 => 'certificate is not yet valid', 10 => 'certificate has expired', 11 => 'CRL is not yet valid', 12 => 'CRL has expired', 13 => 'format error in certificate\'s notBefore field', 14 => 'format error in certificate\'s notAfter field', 15 => 'format error in CRL\'s lastUpdate field', 16 => 'format error in CRL\'s nextUpdate field', 17 => 'out of memory', 18 => 'self signed certificate', 19 => 'self signed certificate in certificate chain', 20 => 'unable to get local issuer certificate', 21 => 'unable to verify the first certificate', 22 => 'certificate chain too long', 23 => 'certificate revoked', 24 => 'invalid CA certificate', 25 => 'path length constraint exceeded', 26 => 'unsupported certificate purpose', 27 => 'certificate not trusted', 28 => 'certificate rejected', 29 => 'subject issuer mismatch', 30 => 'authority and subject key identifier mismatch', 31 => 'authority and issuer serial number mismatch', 32 => 'key usage does not include certificate signing', 50 => 'application verification failure']
+ NEVER_OVERWRITE
+ = [\CURLOPT_CAINFO, \CURLOPT_CAPATH, \CURLOPT_DOH_URL, \CURLOPT_CUSTOMREQUEST, \CURLOPT_HTTPHEADER, \CURLOPT_NOBODY, \CURLOPT_FORBID_REUSE, \CURLOPT_FRESH_CONNECT]
@@ -401,7 +416,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -414,16 +429,16 @@
- protected
- CurlHandle|null
+ private
+ CurlHandle
$curl
- = null
+
@@ -434,7 +449,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -447,13 +462,13 @@
- protected
+ private
array<string|int, mixed>
$curlOptions
= []
@@ -467,7 +482,40 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
+ "
+>
+
+ $handleID
+
+
+
+
+
+
+
+
+
+ private
+ int
+ $handleID
+
+
+
+
+
+
+
@@ -414,16 +429,16 @@
- protected
- CurlHandle|null
+ private
+ CurlHandle
$curl
- = null
+
@@ -434,7 +449,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -447,13 +462,13 @@
- protected
+ private
array<string|int, mixed>
$curlOptions
= []
@@ -467,7 +482,40 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
+ "
+>
+
+ $handleID
+
+
+
+
+
+
+
+
+
+ private
+ int
+ $handleID
+
+
+
+
+
+
+
- protected
- CurlHandle|null
+ private
+ CurlHandle
$curl
- = null
+
@@ -434,7 +449,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -447,13 +462,13 @@
- protected
+ private
array<string|int, mixed>
$curlOptions
= []
@@ -467,7 +482,40 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
+ "
+>
+
+ $handleID
+
+
+
+
+
+
+
+
+
+ private
+ int
+ $handleID
+
+
+
+
+
+
+
- protected
+ private
array<string|int, mixed>
$curlOptions
= []
@@ -467,7 +482,40 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
+ "
+>
+
+ $handleID
+
+
+
+
+
+
+
+
+
+ private
+ int
+ $handleID
+
+
+
+
+
+
+
+ $handleID + + + + +
+ + + +
+ private
+ int
+ $handleID
+
+
+
+
+
+
+
@@ -480,13 +528,13 @@
- protected
+ private
bool
$initialized
= false
@@ -500,7 +548,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -513,13 +561,13 @@
- protected
+ private
HTTPOptions|SettingsContainerInterface
$options
@@ -533,7 +581,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -546,13 +594,13 @@
- protected
+ private
RequestInterface
$request
@@ -566,7 +614,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -579,13 +627,13 @@
- protected
+ private
StreamInterface
$requestBody
@@ -599,7 +647,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -612,13 +660,13 @@
- protected
+ private
ResponseInterface
$response
@@ -632,7 +680,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -645,13 +693,13 @@
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
- protected
+ private
bool
$initialized
= false
@@ -500,7 +548,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -513,13 +561,13 @@
- protected
+ private
HTTPOptions|SettingsContainerInterface
$options
@@ -533,7 +581,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -546,13 +594,13 @@
- protected
+ private
RequestInterface
$request
@@ -566,7 +614,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -579,13 +627,13 @@
- protected
+ private
StreamInterface
$requestBody
@@ -599,7 +647,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -612,13 +660,13 @@
- protected
+ private
ResponseInterface
$response
@@ -632,7 +680,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -645,13 +693,13 @@
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
- protected
+ private
HTTPOptions|SettingsContainerInterface
$options
@@ -533,7 +581,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -546,13 +594,13 @@
- protected
+ private
RequestInterface
$request
@@ -566,7 +614,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -579,13 +627,13 @@
- protected
+ private
StreamInterface
$requestBody
@@ -599,7 +647,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -612,13 +660,13 @@
- protected
+ private
ResponseInterface
$response
@@ -632,7 +680,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -645,13 +693,13 @@
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
@@ -546,13 +594,13 @@
- protected
+ private
RequestInterface
$request
@@ -566,7 +614,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -579,13 +627,13 @@
- protected
+ private
StreamInterface
$requestBody
@@ -599,7 +647,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -612,13 +660,13 @@
- protected
+ private
ResponseInterface
$response
@@ -632,7 +680,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -645,13 +693,13 @@
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
- protected
+ private
RequestInterface
$request
@@ -566,7 +614,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -579,13 +627,13 @@
- protected
+ private
StreamInterface
$requestBody
@@ -599,7 +647,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -612,13 +660,13 @@
- protected
+ private
ResponseInterface
$response
@@ -632,7 +680,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -645,13 +693,13 @@
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
- protected
+ private
StreamInterface
$requestBody
@@ -599,7 +647,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -612,13 +660,13 @@
- protected
+ private
ResponseInterface
$response
@@ -632,7 +680,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -645,13 +693,13 @@
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
@@ -612,13 +660,13 @@
- protected
+ private
ResponseInterface
$response
@@ -632,7 +680,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -645,13 +693,13 @@
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
- protected
+ private
ResponseInterface
$response
@@ -632,7 +680,7 @@
class="
phpdocumentor-element
-property
- -protected
+ -private
"
>
@@ -645,13 +693,13 @@
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
- protected
+ private
StreamInterface
$responseBody
@@ -683,7 +731,7 @@
@@ -746,7 +794,7 @@
@@ -778,14 +826,15 @@
-
+
@@ -778,14 +826,15 @@
-
+
closes the handle
+
public
- close() : static
+ close() : self
Return values
- static
+ self
Return values
- static + selfexecutes the current cURL instance and returns the error number
+
public
exec() : int
@@ -827,6 +877,29 @@
+
+ Tags
+
+
+
+
Return values
@@ -848,7 +921,7 @@
@@ -897,14 +970,15 @@
-
+
returns the internal cURL resource in its current state
+
public
- getCurlResource() : CurlHandle|null
+ getCurlResource() : CurlHandle
@@ -928,7 +1002,7 @@
Return values
- CurlHandle|null
+ CurlHandle
Return values
@@ -848,7 +921,7 @@
@@ -897,14 +970,15 @@
-
+
returns the internal cURL resource in its current state
+
public
- getCurlResource() : CurlHandle|null
+ getCurlResource() : CurlHandle