src/Response/Abstracts/AbstractResponse.php
protected function extractInfo()
    {
        $this->info = curl_getinfo($this->CurlRequest);
        $this->status = $this->info['http_code'];
        if (curl_errno($this->CurlRequest)!== CURLE_OK) {
            $this->error = curl_error($this->CurlRequest);
        } else {
            $this->error = false;
        }
    }
protected function extractInfo()
    {
        $this->info = curl_getinfo($this->CurlRequest);
        $this->status = $this->info['http_code'];
        if (curl_errno($this->CurlRequest)!== CURLE_OK) {
            $this->error = curl_error($this->CurlRequest);
        } else {
            $this->error = false;
        }
    }
protected function extractInfo ( ) { $ this -> info = curl_getinfo ( $ this -> CurlRequest ) ; $ this -> status = $ this -> info [ 'http_code' ] ; if ( curl_errno ( $ this -> CurlRequest ) !== CURLE_OK ) { $ this -> error = curl_error ( $ this -> CurlRequest ) ; } else { $ this -> error = false ; } }
Extract the information from the Curl Request via curl_getinfo
Setup the Status property to be equal to the http_code
Extract the information from the Curl Request via curl_getinfo Setup the Status property to be equal to the http_code