Phue\Transport\Adapter\Streaming::getContentType PHP Method

getContentType() public method

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