You are here

public function Webhook::getHeaders in Webhooks 8

Get the headers.

Return value

array The headers array.

2 calls to Webhook::getHeaders()
Webhook::getSignature in src/Webhook.php
Get the payload signature from headers.
Webhook::getToken in src/Webhook.php
Get the secret token from headers.

File

src/Webhook.php, line 101

Class

Webhook
Class Webhook .

Namespace

Drupal\webhooks

Code

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