src/Neutrino/HttpClient/Provider/Curl.php
protected function curlInfos($ch)
    {
        $this->response->setCode(curl_getinfo($ch, CURLINFO_HTTP_CODE));

        if (($errno = curl_errno($ch)) !== 0) {
            $this->response->setErrorCode(curl_errno($ch));
            $this->response->setError(curl_error($ch));
        }

        $this->response->setProviderDatas(curl_getinfo($ch));
    }
protected function curlInfos($ch)
    {
        $this->response->setCode(curl_getinfo($ch, CURLINFO_HTTP_CODE));

        if (($errno = curl_errno($ch)) !== 0) {
            $this->response->setErrorCode(curl_errno($ch));
            $this->response->setError(curl_error($ch));
        }

        $this->response->setProviderDatas(curl_getinfo($ch));
    }
Apply curl info to response

@param resource $ch