We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e10006 commit 9006dbfCopy full SHA for 9006dbf
src/Curl/Curl.php
@@ -347,6 +347,7 @@ public function exec($ch = null)
347
$this->curlErrorMessage = curl_error($this->curl);
348
$this->curlError = !($this->curlErrorCode === 0);
349
$this->httpStatusCode = curl_getinfo($this->curl, CURLINFO_HTTP_CODE);
350
+ $this->totalTime = curl_getinfo($this->curl, CURLINFO_TOTAL_TIME);
351
$this->httpError = in_array(floor($this->httpStatusCode / 100), array(4, 5));
352
$this->error = $this->curlError || $this->httpError;
353
$this->errorCode = $this->error ? ($this->curlError ? $this->curlErrorCode : $this->httpStatusCode) : 0;
0 commit comments