diff options
author | Valery Piashchynski <[email protected]> | 2021-07-14 14:55:24 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-07-14 14:55:24 +0300 |
commit | cd07985494b3ebb03fd6553bed9aa1393052ffc5 (patch) | |
tree | ea2c89de3fb7765af84ff9dac7c83881bc8869d2 /tests/psr-worker.php | |
parent | d099e47ab28dd044d34e18347a4c714b8af3d612 (diff) |
Implement Pause/Resume/Stop
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/psr-worker.php')
-rw-r--r-- | tests/psr-worker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/psr-worker.php b/tests/psr-worker.php index de4befbc..db53eee2 100644 --- a/tests/psr-worker.php +++ b/tests/psr-worker.php @@ -20,7 +20,7 @@ while ($req = $psr7->waitRequest()) { try { $resp = new \Nyholm\Psr7\Response(); $resp->getBody()->write(str_repeat("hello world", 1000)); - + $psr7->respond($resp); } catch (\Throwable $e) { $psr7->getWorker()->error((string)$e); |