src/Http/HttpRequest.php
public function getHttpHeaders()
    {
        $field = EnumRequestOption::HTTP_HEADERS;
        $http_deaders = isset($this->options[$field]) ? $this->options[$field] : [];

        $http_deaders = array_merge($this->getDefaultHttpHeaders(), $http_deaders);

        return $http_deaders;
    }
public function getHttpHeaders()
    {
        $field = EnumRequestOption::HTTP_HEADERS;
        $http_deaders = isset($this->options[$field]) ? $this->options[$field] : [];

        $http_deaders = array_merge($this->getDefaultHttpHeaders(), $http_deaders);

        return $http_deaders;
    }
public function getHttpHeaders ( ) { $ field = EnumRequestOption :: HTTP_HEADERS ; $ http_deaders = isset ( $ this -> options [ $ field ] ) ? $ this -> options [ $ field ] : [ ] ; $ http_deaders = array_merge ( $ this -> getDefaultHttpHeaders ( ) , $ http_deaders ) ; return $ http_deaders ; }
Get HTTP headers

@return array
Get HTTP headers