public function Nodejs::addUserToChannel in Node.js integration 8
File
- src/
Nodejs.php, line 153
Class
Namespace
Drupal\nodejsCode
public function addUserToChannel($uid, $channel) {
$options = [
'method' => 'POST',
];
return $this
->httpRequest("nodejs/user/channel/add/{$channel}/{$uid}", $options);
}