src/ieu/Http/Request.php
public function header(string $key, $default = null)
  {
    return $this->header->has($key) ? $this->header->get($key) : $default;
  }
public function header(string $key, $default = null)
  {
    return $this->header->has($key) ? $this->header->get($key) : $default;
  }
public function header ( string $ key , $ default = null ) { return $ this -> header -> has ( $ key ) ? $ this -> header -> get ( $ key ) : $ default ; }
Shortcut to fetch a HEADER-parameter with optional default value.

@param string $key
the key to look for
@param mixed $default
the value thar will be returned if the key is not set

@return mixed
the found or the default value
Shortcut to fetch a HEADER - parameter with optional default value .