You are here

public static function Nodejs::addChannel in Node.js integration 7

1 call to Nodejs::addChannel()
nodejs_get_add_channel in ./nodejs.module
Add a channel to the Node.js server.

File

./nodejs.module, line 948

Class

Nodejs

Code

public static function addChannel($channel) {
  $options = array(
    'method' => 'POST',
  );
  return self::httpRequest("nodejs/channel/add/{$channel}", $options);
}