You are here

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

File

src/Nodejs.php, line 160

Class

Nodejs

Namespace

Drupal\nodejs

Code

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