Phue\Transport\Adapter\Streaming::getContentType PHP Метод

getContentType() публичный Метод

Get response content type
public getContentType ( ) : string
Результат string Response content type
    public function getContentType()
    {
        preg_match('#^Content-type: ([^;]+?)$#mi', $this->getHeaders(), $matches);
        return isset($matches[1]) ? $matches[1] : false;
    }