Kraken\Channel\Extra\Request::call PHP Method

call() public method

Send the prepared request.
public call ( ) : Kraken\Promise\PromiseInterface
return Kraken\Promise\PromiseInterface
    public function call()
    {
        return $this->send(new Promise());
    }

Usage Example

 /**
  * @override
  * @inheritDoc
  */
 public function sendCommand($alias, $command, $params = [])
 {
     $req = new Request($this->channel, $alias, new RuntimeCommand($command, $params));
     return $req->call();
 }
All Usage Examples Of Kraken\Channel\Extra\Request::call