Embryo/Http/Message/Traits/HeadersTrait.php
protected function setPreserveHost(string $headerHost, string $host)
        {
            $header = [];
            if ($host !== '' && $headerHost === '') {
                $header = [
                    'original' => 'HTTP_HOST', 
                    'values'   => [$host]
                ];
            }
            return $header;
        }
protected function setPreserveHost(string $headerHost, string $host)
        {
            $header = [];
            if ($host !== '' && $headerHost === '') {
                $header = [
                    'original' => 'HTTP_HOST', 
                    'values'   => [$host]
                ];
            }
            return $header;
        }
protected function setPreserveHost ( string $ headerHost , string $ host ) { $ header = [ ] ; if ( $ host !== '' && $ headerHost === '' ) { $ header = [ 'original' => 'HTTP_HOST' , 'values' => [ $ host ] ] ; } return $ header ; }
Sets Host header if preserve host is true.

@param string $headerHost
@param string $host
return string[][]
Sets Host header if preserve host is true .