src/Neutrino/HttpClient/Provider/Curl.php
protected function curlHeaderFunction($ch, $raw)
    {
        if ($this->response->getCode() === null) {
            $this->response->setCode(curl_getinfo($ch, CURLINFO_HTTP_CODE));
        }

        $this->response->getHeader()->parse($raw);

        return strlen($raw);
    }
protected function curlHeaderFunction($ch, $raw)
    {
        if ($this->response->getCode() === null) {
            $this->response->setCode(curl_getinfo($ch, CURLINFO_HTTP_CODE));
        }

        $this->response->getHeader()->parse($raw);

        return strlen($raw);
    }
Callback headerFunction

@param resource $ch
@param string   $raw

@return int