sendWithResponse

This commit is contained in:
2021-01-23 03:21:09 +03:00
parent 5d407480db
commit 54d9374478
3 changed files with 8 additions and 6 deletions

View File

@ -15,7 +15,7 @@ class Consumer extends Connection
{
$buffer = sprintf('SUB %s %s', $topic, $channel).PHP_EOL;
$this->send($buffer)->getResponse()->okOrFail();
$this->sendWithResponse($buffer)->okOrFail();
}
/**