src/Generics/Client/HttpHeadersTrait.php
private function getHeader(string $name): string
    {
        $result = "";
        
        if (Arrays::hasElement($this->headers, $name)) {
            $result = $this->headers[$name];
        }
        
        return $result;
    }
private function getHeader(string $name): string
    {
        $result = "";
        
        if (Arrays::hasElement($this->headers, $name)) {
            $result = $this->headers[$name];
        }
        
        return $result;
    }
Retrieve an given header

@param string $name
@return string