Neos\Fusion\TypoScriptObjects\Http\ResponseHeadImplementation::getHttpVersion PHP Méthode

getHttpVersion() public méthode

Get HTTP protocol version
public getHttpVersion ( ) : string
Résultat string
    public function getHttpVersion()
    {
        $httpVersion = $this->tsValue('httpVersion');
        if ($httpVersion === null) {
            $httpVersion = 'HTTP/1.1';
        }
        return trim($httpVersion);
    }