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