public function getResponseHeaders() {
        $requestHeaders = [];

        if ($this->headers instanceof \ArrayAccess) {
            while ($this->headers->valid()) {
                $requestHeaders[$this->headers->key()] = $this->headers->current();
                $this->headers->next();
            }
        }

        return $requestHeaders;
    }
public function getResponseHeaders() {
        $requestHeaders = [];

        if ($this->headers instanceof \ArrayAccess) {
            while ($this->headers->valid()) {
                $requestHeaders[$this->headers->key()] = $this->headers->current();
                $this->headers->next();
            }
        }

        return $requestHeaders;
    }
public function getResponseHeaders ( ) { $ requestHeaders = [ ] ; if ( $ this -> headers instanceof \ ArrayAccess ) { while ( $ this -> headers -> valid ( ) ) { $ requestHeaders [ $ this -> headers -> key ( ) ] = $ this -> headers -> current ( ) ; $ this -> headers -> next ( ) ; } } return $ requestHeaders ; }
Get Response Headers

Gets the response headers

@return array
Get Response Headers