Mellivora/Http/Request.php
public function server($key = null, $default = null)
    {
        $servers = $this->getServerParams();

        return is_null($key) ? $servers : data_get($servers, $key, $default);
    }
public function server($key = null, $default = null)
    {
        $servers = $this->getServerParams();

        return is_null($key) ? $servers : data_get($servers, $key, $default);
    }
public function server ( $ key = null , $ default = null ) { $ servers = $ this -> getServerParams ( ) ; return is_null ( $ key ) ? $ servers : data_get ( $ servers , $ key , $ default ) ; }
Retrieve a server variable from the request.

@param string            $key
@param null|array|string $default

@return array|string
Retrieve a server variable from the request .