You are here

public function Nodejs::getContentTokenUsers in Node.js integration 8

File

src/Nodejs.php, line 138

Class

Nodejs

Namespace

Drupal\nodejs

Code

public function getContentTokenUsers($message) {
  $options = [
    'method' => 'POST',
    'body' => Json::encode($message),
  ];
  return $this
    ->httpRequest('nodejs/content/token/users', $options);
}