public function build()
    {
        $headers = [];

        foreach ($this->headers as $name => $value) {
            $headers[] = $name . ': ' . $value;
        }

        return $headers;
    }
public function build()
    {
        $headers = [];

        foreach ($this->headers as $name => $value) {
            $headers[] = $name . ': ' . $value;
        }

        return $headers;
    }
public function build ( ) { $ headers = [ ] ; foreach ( $ this -> headers as $ name => $ value ) { $ headers [ ] = $ name . ': ' . $ value ; } return $ headers ; }
Return the header builded for the HTTP Request

@return array
Return the header builded for the HTTP Request