src/Valkyrja/Http/NativeRequest.php
public function setServer(array $server = []): Request
    {
        $server = $server
            ?: $_SERVER;

        $this->server = new Server($server);

        return $this;
    }
public function setServer(array $server = []): Request
    {
        $server = $server
            ?: $_SERVER;

        $this->server = new Server($server);

        return $this;
    }
Set the SERVER parameters.

@param array $server

@return \Valkyrja\Http\Request