You are here

public static function Nodejs::logoutUser in Node.js integration 6

Same name and namespace in other branches
  1. 7 nodejs.module \Nodejs::logoutUser()
1 call to Nodejs::logoutUser()
nodejs_logout_user in ./nodejs.module
Logout any sockets associated with the given token from the node.js server.

File

./nodejs.module, line 633

Class

Nodejs

Code

public static function logoutUser($token) {
  self::initConfig();
  return drupal_http_request(self::$baseUrl . "nodejs/user/logout/{$token}", self::$headers);
}