You are here

public function Nodejs::getUrl in Node.js integration 8

1 call to Nodejs::getUrl()
Nodejs::httpRequest in src/Nodejs.php

File

src/Nodejs.php, line 42

Class

Nodejs

Namespace

Drupal\nodejs

Code

public function getUrl($path) {
  return $this->config['nodejs']['scheme'] . '://' . $this->config['nodejs']['host'] . ':' . $this->config['nodejs']['port'] . "/{$path}";
}