src/rehyved/Http/HttpRequest.php
public function headers(array $headers): HttpRequest
    {
        foreach ($headers as $name => $value) {
            $this->header($name, $value);
        }

        return $this;
    }
public function headers(array $headers): HttpRequest
    {
        foreach ($headers as $name => $value) {
            $this->header($name, $value);
        }

        return $this;
    }
public function headers ( array $ headers ) : HttpRequest { foreach ( $ headers as $ name => $ value ) { $ this -> header ( $ name , $ value ) ; } return $ this ; }
Adds an array of headers to the HttpRequest
@param array $headers An associative array of name->value to add as headers to the HttpRequest
@return HttpRequest
Adds an array of headers to the HttpRequest