You are here

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

File

src/Nodejs.php, line 146

Class

Nodejs

Namespace

Drupal\nodejs

Code

public function kickUser($uid) {
  $options = [
    'method' => 'POST',
  ];
  return $this
    ->httpRequest("nodejs/user/kick/{$uid}", $options);
}