diff options
-rw-r--r-- | src/MasterClient.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/MasterClient.php b/src/MasterClient.php index d2a8712..a804ce5 100644 --- a/src/MasterClient.php +++ b/src/MasterClient.php @@ -32,4 +32,16 @@ class MasterClient extends Client { ); } + /** + * @param array[] $jobs + * @return ResponseMessage + * @throws \Exception + */ + public function runManual(array $jobs): ResponseMessage + { + return $this->recv( + $this->sendRequest(new RequestMessage('run-manual', ['jobs' => $jobs])) + ); + } + }
\ No newline at end of file |