public static function Nodejs::logoutUser in Node.js integration 6
Same name and namespace in other branches
- 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
Code
public static function logoutUser($token) {
self::initConfig();
return drupal_http_request(self::$baseUrl . "nodejs/user/logout/{$token}", self::$headers);
}