You are here

public function Request::getHeaders in RESTful 7.2

Gets the headers bag.

Return value

HttpHeaderBag

Overrides RequestInterface::getHeaders

File

src/Http/Request.php, line 438
Contains \Drupal\restful\Http\Request

Class

Request
Deals with everything coming from the consumer.

Namespace

Drupal\restful\Http

Code

public function getHeaders() {
  return $this->headers;
}