public function Nodejs::healthCheck in Node.js integration 8
1 call to Nodejs::healthCheck()
File
- src/
Nodejs.php, line 64
Class
Namespace
Drupal\nodejsCode
public function healthCheck() {
$data = $this
->httpRequest('nodejs/health/check');
if (is_object($data) && isset($data->version)) {
$this->nodeServerVersion = $data->version;
}
return $data;
}