src/Leevel/Http/Response.php
public function setProtocolVersion(string $protocolVersion): IResponse
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        $this->protocolVersion = $protocolVersion;

        return $this;
    }
public function setProtocolVersion(string $protocolVersion): IResponse
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        $this->protocolVersion = $protocolVersion;

        return $this;
    }
设置 HTTP 协议版本 (1.0 or 1.1).

@param string $protocolVersion

@return $this