You are here

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

Same name and namespace in other branches
  1. 6 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 893

Class

Nodejs

Code

public static function logoutUser($token) {
  $options = array(
    'method' => 'POST',
  );
  return self::httpRequest("nodejs/user/logout/{$token}", $options);
}